Skip to content

Commit

Permalink
fix: fix docker building
Browse files Browse the repository at this point in the history
  • Loading branch information
zensh committed Jun 28, 2024
1 parent 5202ed9 commit d055f59
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,5 @@ jobs:
docker login --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} ${{ env.REGISTRY }}
IMAGE_TAG="${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}"
LATEST_TAG="${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest"
TAGS="-t ${IMAGE_TAG}"
TAGS="-t ${IMAGE_TAG} -t ${LATEST_TAG}"
docker buildx build --platform='linux/amd64,linux/arm64' $TAGS --push .
docker tag $IMAGE_TAG $LATEST_TAG
docker push $LATEST_TAG

0 comments on commit d055f59

Please sign in to comment.