Skip to content

Commit

Permalink
Fixed push directive in release workflow.
Browse files Browse the repository at this point in the history
Autopush doesn't work in Docker buildx yet. Must use manual notation for it.
  • Loading branch information
MrFlynn committed Dec 28, 2020
1 parent 5506733 commit 5f59277
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
run: |
docker buildx build --cache-from "type=local,src=/tmp/buildx-cache" \
--tag ${IMAGE_NAME}:${{ steps.setup.outputs.version }} --tag ${IMAGE_NAME}:latest \
--push \
--output "type=image,push=true" \
${{ steps.setup.outputs.build_args }}
- name: Login to ghcr.io
uses: azure/docker-login@v1
Expand All @@ -85,5 +85,5 @@ jobs:
docker buildx build --cache-from "type=local,src=/tmp/buildx-cache" \
--tag ghcr.io/${IMAGE_NAME}:${{ steps.setup.outputs.version }} \
--tag ghcr.io/${IMAGE_NAME}:latest \
--push \
--output "type=image,push=true" \
${{ steps.setup.outputs.build_args }}

0 comments on commit 5f59277

Please sign in to comment.