Skip to content

Commit b9d4e86

Browse files
committed
Try without docker/build-push-action
Use 'docker buildx' commands directly Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
1 parent 4b2f6fd commit b9d4e86

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/docker-image-upload.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,7 @@ jobs:
4141
run: docker buildx create --use
4242

4343
- name: Build and push build-su2
44-
uses: docker/build-push-action@v2
45-
with:
46-
context: build
47-
push: true
48-
tags: ghcr.io/${{ github.repository_owner }}/su2/build-su2:${{ steps.vars.outputs.date_tag }}
49-
platforms: linux/amd64,linux/arm64
44+
run: docker buildx build --platform=linux/amd64 --platform=linux/arm64 -t ghcr.io/${{ github.repository_owner }}/su2/build-su2:${{ steps.vars.outputs.date_tag }} --push .
5045

5146
- name: Build and push test-su2
5247
uses: docker/build-push-action@v2

0 commit comments

Comments
 (0)