Skip to content

Commit d97788e

Browse files
authored
Merge branch 'main' into renovate/dcarbone-install-jq-action-3.x
2 parents aeddb5a + 8592b95 commit d97788e

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

.github/workflows/test-docker-build-complex.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434
build-args: |
3535
TEST_ARG=test_value
3636
SECOND_ARG=two
37+
tags: |
38+
type=sha,format=long,suffix=-complex,priority=1002
3739
3840
- uses: nick-fields/assert-action@v2
3941
with:
@@ -42,7 +44,7 @@ jobs:
4244

4345
- uses: nick-fields/assert-action@v2
4446
with:
45-
expected: sha-${{ github.sha }}
47+
expected: sha-${{ github.sha }}-complex
4648
actual: ${{ steps.current.outputs.tag }}
4749

4850
teardown:

.github/workflows/test-docker-build-multi-platform.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
login: ${{ secrets.DOCKERHUB_USERNAME }}
3333
password: ${{ secrets.DOCKERHUB_PASSWORD }}
3434
platforms: linux/amd64,linux/arm64
35+
tags: |
36+
type=sha,format=long,suffix=-multi-platform,priority=1002
3537
3638
- name: Inspect Image
3739
id: inspect
@@ -48,7 +50,7 @@ jobs:
4850

4951
- uses: nick-fields/assert-action@v2
5052
with:
51-
expected: sha-${{ github.sha }}
53+
expected: sha-${{ github.sha }}-multi-platform
5254
actual: ${{ steps.current.outputs.tag }}
5355

5456
- uses: nick-fields/assert-action@v2

.github/workflows/test-docker-build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
registry: registry.hub.docker.com
3131
login: ${{ secrets.DOCKERHUB_USERNAME }}
3232
password: ${{ secrets.DOCKERHUB_PASSWORD }}
33+
tags: |
34+
type=sha,format=long,suffix=-single-platform,priority=1002
3335
3436
- uses: nick-fields/assert-action@v2
3537
with:
@@ -38,7 +40,7 @@ jobs:
3840

3941
- uses: nick-fields/assert-action@v2
4042
with:
41-
expected: sha-${{ github.sha }}
43+
expected: sha-${{ github.sha }}-single-platform
4244
actual: ${{ steps.current.outputs.tag }}
4345

4446

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,15 @@ Build Docker image and push it.
9797
| Name | Description | Default | Required |
9898
|------|-------------|---------|----------|
9999
| allow | List of extra privileged entitlement (e.g., network.host,security.insecure) | N/A | false |
100+
| binfmt-image | Binfmt image | public.ecr.aws/eks-distro-build-tooling/binfmt-misc:qemu-v7.0.0 | false |
100101
| build-args | List of build-time variables | N/A | false |
101102
| build-contexts | List of additional build contexts (e.g., name=path) | N/A | false |
102103
| buildkitd-flags | BuildKit daemon flags | --allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host | false |
103104
| cache-from | List of external cache sources for buildx (e.g., user/app:cache, type=local,src=path/to/dir) | type=gha | false |
104105
| cache-to | List of cache export destinations for buildx (e.g., user/app:cache, type=local,dest=path/to/dir) | type=gha,mode=max | false |
105106
| debug | Enable debug mode | false | false |
106107
| docker-metadata-pr-head-sha | Set to `true` to tag images with the PR HEAD SHA instead of the merge commit SHA within pull requests. | false | false |
107-
| driver-opts | List of additional driver-specific options. (eg. image=moby/buildkit:master) | N/A | false |
108+
| driver-opts | List of additional driver-specific options. (eg. image=moby/buildkit:master) | image=public.ecr.aws/vend/moby/buildkit:buildx-stable-1 | false |
108109
| file | Dockerfile name | Dockerfile | false |
109110
| image\_name | Image name (excluding registry). Defaults to {{$organization/$repository}}. | | false |
110111
| login | Docker login | | false |

0 commit comments

Comments
 (0)