Skip to content

Commit 13618a9

Browse files
committed
Try combining multiple tags in one build
1 parent 30085ce commit 13618a9

1 file changed

Lines changed: 14 additions & 11 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,17 @@ jobs:
4545
images: |
4646
mendhak/http-https-echo
4747
48-
- name: Build the image multi-platform
49-
uses: docker/build-push-action@v5
50-
with:
51-
context: .
52-
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le
53-
push: false
54-
cache-from: type=gha
55-
cache-to: type=gha,mode=max
56-
tags: ${{ steps.meta.outputs.tags }}
57-
labels: ${{ steps.meta.outputs.labels }}
48+
# Commenting out, possible bug: https://github.com/nodejs/docker-node/issues/1946
49+
# - name: Build the image multi-platform
50+
# uses: docker/build-push-action@v5
51+
# with:
52+
# context: .
53+
# platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le
54+
# push: false
55+
# cache-from: type=gha
56+
# cache-to: type=gha,mode=max
57+
# tags: ${{ steps.meta.outputs.tags }}
58+
# labels: ${{ steps.meta.outputs.labels }}
5859

5960
# Due to bug https://github.com/docker/buildx/issues/59, need to build for single platform, load, then run tests.
6061
- name: Build a test image single platform and load it
@@ -65,7 +66,9 @@ jobs:
6566
load: true
6667
cache-from: type=gha
6768
cache-to: type=gha,mode=max
68-
tags: "mendhak/http-https-echo:testing"
69+
tags: |
70+
${{ steps.meta.outputs.tags }}
71+
"mendhak/http-https-echo:testing"
6972
labels: ${{ steps.meta.outputs.labels }}
7073

7174
- name: Run tests using the test image

0 commit comments

Comments
 (0)