Skip to content

Commit

Permalink
docker buildx
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmcgary committed Jun 3, 2024
1 parent 1f8dead commit 8f9c70e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
PLATFORMS: "linux/amd64,linux/arm64"
run: |
if [[ $GITHUB_REF == refs/heads/master ]]; then
docker-buildx build --platform $PLATFORMS -t $REGISTRY/$REPOSITORY:$IMAGE_TAG -t $REGISTRY/$REPOSITORY:latest --push .
docker buildx build --platform $PLATFORMS -t $REGISTRY/$REPOSITORY:$IMAGE_TAG -t $REGISTRY/$REPOSITORY:latest --push .
else
docker-buildx build --platform $PLATFORMS -t $REGISTRY/$REPOSITORY:$IMAGE_TAG --push .
docker buildx build --platform $PLATFORMS -t $REGISTRY/$REPOSITORY:$IMAGE_TAG --push .
fi

0 comments on commit 8f9c70e

Please sign in to comment.