mirror of https://gitee.com/answerdev/answer.git
update build docker img
This commit is contained in:
parent
7b177ec2cb
commit
572cd58e5d
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue