update build docker img

This commit is contained in:
aichy126 2023-02-06 18:59:39 +08:00
parent 7b177ec2cb
commit 572cd58e5d
1 changed files with 14 additions and 14 deletions

View File

@ -70,20 +70,20 @@ jobs:
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
- name: Build arm64 # - name: Build arm64
uses: docker/build-push-action@v4 # uses: docker/build-push-action@v4
with: # with:
context: . # context: .
file: ./Dockerfile # file: ./Dockerfile
platforms: linux/arm64 # platforms: linux/arm64
push: true # push: true
tags: ${{ steps.meta.outputs.tags }} # tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} # labels: ${{ steps.meta.outputs.labels }}
- name: Push image to GHCR # - name: Push image to GHCR
run: | # run: |
docker buildx imagetools create \ # docker buildx imagetools create \
--tag ghcr.io/${{ env.REGISTRY }}/${{ env.IMAGE }}:latest # --tag ghcr.io/${{ env.REGISTRY }}/${{ env.IMAGE }}:latest
${{ env.REGISTRY }}/${{ env.IMAGE }}:latest # ${{ env.REGISTRY }}/${{ env.IMAGE }}:latest