Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fork Sync: Update from parent repository #1

Open
wants to merge 172 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
172 commits
Select commit Hold shift + click to select a range
2b28f2a
upgrade actions/checkout to v4
k-yamasaki-zakisan Jan 26, 2024
94d76d3
Merge pull request #1041 from k-yamasaki-zakisan/feature/upgrate-read…
crazy-max Jan 26, 2024
d236adc
chore(deps): Bump codecov/codecov-action from 3 to 4
dependabot[bot] Feb 1, 2024
4976231
Merge pull request #1046 from docker/dependabot/github_actions/codeco…
crazy-max Feb 3, 2024
d47e7c3
chore(deps): Bump undici from 5.26.3 to 5.28.3
dependabot[bot] Feb 16, 2024
8ab81cb
ci: set codecov token
crazy-max Feb 22, 2024
62d8db0
Merge pull request #1059 from crazy-max/codecov-token
crazy-max Feb 22, 2024
ffd798c
chore: update generated content
crazy-max Feb 23, 2024
b3eddbb
Merge pull request #1057 from docker/dependabot/npm_and_yarn/undici-5…
crazy-max Feb 23, 2024
6bd0e54
ci: local-cache job to test local cache feature
crazy-max Feb 28, 2024
831ca17
Merge pull request #1066 from crazy-max/ci-local-cache
crazy-max Feb 29, 2024
90e54d0
chore(deps): Bump @docker/actions-toolkit from 0.14.0 to 0.18.0
dependabot[bot] Mar 1, 2024
701942b
chore: update generated content
crazy-max Mar 6, 2024
00ae31a
Merge pull request #1070 from docker/dependabot/npm_and_yarn/docker/a…
crazy-max Mar 6, 2024
afdf0c0
chore: debug build cmd and args
crazy-max Mar 6, 2024
6c20794
disable quotes detection for "outputs" input
crazy-max Mar 6, 2024
2a85189
chore: update generated content
crazy-max Mar 6, 2024
af5a7ed
Merge pull request #1074 from crazy-max/build-cmd-debug
crazy-max Mar 7, 2024
35e7dd5
ci: test multi output
crazy-max Mar 8, 2024
2a7db1d
Merge pull request #1075 from crazy-max/ci-multi-output
tonistiigi Mar 11, 2024
1580753
chore(deps): Bump @docker/actions-toolkit from 0.18.0 to 0.19.0
dependabot[bot] Mar 13, 2024
008747a
chore: update generated content
crazy-max Mar 13, 2024
2cdde99
Merge pull request #1080 from docker/dependabot/npm_and_yarn/docker/a…
crazy-max Mar 13, 2024
ec4854f
ci: use buildkitd-config input
crazy-max Mar 17, 2024
090ca15
Merge pull request #1081 from crazy-max/ci-update-bk-config
crazy-max Mar 18, 2024
4f02f34
chore(deps): Bump @docker/actions-toolkit from 0.19.0 to 0.20.0
dependabot[bot] Apr 2, 2024
c2064be
chore: update generated content
crazy-max Apr 2, 2024
f8bc7f4
Merge pull request #1088 from docker/dependabot/npm_and_yarn/docker/a…
crazy-max Apr 2, 2024
96acf63
handle attests correctly with provenance and sbom inputs
crazy-max Mar 26, 2024
b031296
chore: update generated content
crazy-max Apr 2, 2024
4c8d1e6
ci: switch to stable buildkit image for load and push
crazy-max Apr 15, 2024
2ce6bea
readme: update following latest buildx/buildkit releases
crazy-max Apr 15, 2024
7e6f776
Merge pull request #1095 from crazy-max/ci-use-stable-1
crazy-max Apr 16, 2024
c3b5701
Merge pull request #1086 from crazy-max/fix-attests-provenance-sbom
crazy-max Apr 26, 2024
68615d5
chore(deps): Bump @docker/actions-toolkit from 0.20.0 to 0.22.0
dependabot[bot] Apr 26, 2024
d0fc12d
docs: remove stub files
crazy-max Apr 26, 2024
eb3cfea
switch to new Build class
crazy-max Apr 26, 2024
d56be63
Merge pull request #1106 from crazy-max/docs-rm-stubs
crazy-max Apr 26, 2024
40d6a90
chore: update generated content
crazy-max Apr 26, 2024
7f1f43b
Merge pull request #1105 from docker/dependabot/npm_and_yarn/docker/a…
crazy-max Apr 26, 2024
929fba6
chore(deps): Bump undici from 5.28.3 to 5.28.4
dependabot[bot] Apr 26, 2024
b6ff9e5
chore: update generated content
crazy-max Apr 26, 2024
eb539f4
Merge pull request #1090 from docker/dependabot/npm_and_yarn/undici-5…
crazy-max Apr 26, 2024
5bc9e2e
update to yarn 3.6.3
crazy-max May 6, 2024
1984549
chore: add plugin-interactive-tools yarn pkg
crazy-max May 6, 2024
8804d8e
chore: update generated content
crazy-max May 6, 2024
cf8d130
Merge pull request #1110 from crazy-max/update-yarn
crazy-max May 6, 2024
1d5307d
align interface fields with action inputs
crazy-max Apr 30, 2024
99d8323
chore: update generated content
crazy-max May 6, 2024
729f7f4
Merge pull request #1109 from crazy-max/align-inputs-iface
crazy-max May 6, 2024
6c58ea3
ci(e2e): update artifactory instance
crazy-max May 10, 2024
fc15b64
Merge pull request #1114 from crazy-max/e2e-artifactory
crazy-max May 10, 2024
e1e22cd
ci(e2e): fix artifactory slug
crazy-max May 10, 2024
6003d32
Merge pull request #1115 from crazy-max/fix-e2e-artifactory
crazy-max May 10, 2024
563a2f5
chore(deps): Bump @docker/actions-toolkit from 0.22.0 to 0.23.0
dependabot[bot] May 14, 2024
54d0f58
fixes related to actions-toolkit 0.23.0 changes
crazy-max May 14, 2024
0e2ab16
chore: update generated content
crazy-max May 14, 2024
df19a79
Merge pull request #1121 from docker/dependabot/npm_and_yarn/docker/a…
crazy-max May 14, 2024
79117b6
chore: update dev dependencies
crazy-max May 15, 2024
ccef1f2
chore: update generated content
crazy-max May 15, 2024
2a53c6c
Merge pull request #1122 from crazy-max/update-dev-deps
crazy-max May 15, 2024
c86eb8b
chore(deps): Bump @docker/actions-toolkit from 0.23.0 to 0.24.0
dependabot[bot] May 27, 2024
a3118a8
fixes since moved types
crazy-max May 27, 2024
4c16cf9
chore: update generated content
crazy-max May 27, 2024
ef6cba3
Merge pull request #1127 from docker/dependabot/npm_and_yarn/docker/a…
crazy-max May 27, 2024
12076d2
show builder information before building
crazy-max May 29, 2024
025c205
chore: update generated content
crazy-max May 29, 2024
ca052bb
Merge pull request #1128 from crazy-max/builder-info
crazy-max May 29, 2024
f6a172d
chore(deps): Bump @docker/actions-toolkit from 0.24.0 to 0.25.0
dependabot[bot] Jun 10, 2024
cfc1555
fix tests after changes with provenance builder-id
crazy-max Jun 10, 2024
de5408f
chore: update generated content
crazy-max Jun 10, 2024
84354d3
Merge pull request #1132 from docker/dependabot/npm_and_yarn/docker/a…
crazy-max Jun 10, 2024
e030091
chore(deps): Bump @docker/actions-toolkit from 0.25.0 to 0.25.1
dependabot[bot] Jun 12, 2024
dca03ca
chore: update generated content
crazy-max Jun 12, 2024
cfed4e9
Merge pull request #1136 from docker/dependabot/npm_and_yarn/docker/a…
crazy-max Jun 12, 2024
2636874
chore(deps): Bump braces from 3.0.2 to 3.0.3
dependabot[bot] Jun 12, 2024
840c12b
chore(deps): Bump @docker/actions-toolkit from 0.25.1 to 0.26.0
dependabot[bot] Jun 14, 2024
2b8dc7f
chore: update generated content
crazy-max Jun 14, 2024
268d2b1
Merge pull request #1138 from docker/dependabot/npm_and_yarn/docker/a…
crazy-max Jun 14, 2024
86c2bd0
Merge pull request #1137 from docker/dependabot/npm_and_yarn/braces-3…
crazy-max Jun 14, 2024
e51051a
export build record and upload artifact
crazy-max May 2, 2024
d880b19
generate build summary
crazy-max May 2, 2024
667cb22
DOCKER_BUILD_NO_SUMMARY env to disable summary
crazy-max May 15, 2024
dc24cf9
don't generate summary for cloud driver
crazy-max May 29, 2024
5a5b70d
chore: update generated content
crazy-max Jun 14, 2024
c382f71
Merge pull request #1120 from crazy-max/build-summary
crazy-max Jun 17, 2024
29d6782
docs: bump actions to latest major
crazy-max Jun 17, 2024
76e5c2d
chore(deps): Bump docker/bake-action from 4 to 5
dependabot[bot] Jun 17, 2024
0883ebe
Merge pull request #1139 from crazy-max/bump-major
crazy-max Jun 17, 2024
4367da9
Merge pull request #1140 from docker/dependabot/github_actions/docker…
crazy-max Jun 17, 2024
6721c56
chore(deps): Bump @docker/actions-toolkit from 0.26.0 to 0.26.1
dependabot[bot] Jun 18, 2024
22f4433
chore: update generated content
crazy-max Jun 18, 2024
94f8f8c
Merge pull request #1142 from docker/dependabot/npm_and_yarn/docker/a…
crazy-max Jun 18, 2024
0dfe9c3
chore(deps): Bump @docker/actions-toolkit from 0.26.1 to 0.26.2
dependabot[bot] Jun 20, 2024
c0a6b96
chore: update generated content
crazy-max Jun 20, 2024
f6010ea
Merge pull request #1147 from docker/dependabot/npm_and_yarn/docker/a…
crazy-max Jun 20, 2024
f7febd6
chore(deps): Bump @docker/actions-toolkit from 0.26.2 to 0.27.0
dependabot[bot] Jun 20, 2024
07e1c3e
chore: update generated content
crazy-max Jun 20, 2024
31159d4
Merge pull request #1149 from docker/dependabot/npm_and_yarn/docker/a…
crazy-max Jun 20, 2024
9cac6c8
use default retention days for build export artifact
crazy-max Jun 24, 2024
97be5a4
chore: update generated content
crazy-max Jun 24, 2024
9476c25
Merge pull request #1153 from crazy-max/export-retention
crazy-max Jun 26, 2024
309982e
chore(deps): Bump @docker/actions-toolkit from 0.27.0 to 0.28.0
dependabot[bot] Jun 26, 2024
57e1d34
chore: update generated content
crazy-max Jun 26, 2024
1556069
Merge pull request #1158 from docker/dependabot/npm_and_yarn/docker/a…
crazy-max Jun 26, 2024
723ff6f
chore(deps): Bump @docker/actions-toolkit from 0.28.0 to 0.29.0
dependabot[bot] Jun 27, 2024
49351df
chore: update generated content
crazy-max Jun 27, 2024
9e59c61
Merge pull request #1159 from docker/dependabot/npm_and_yarn/docker/a…
crazy-max Jun 27, 2024
6fdff4f
readme: add section on job summaries
dvdksn Jun 27, 2024
af64c4e
Merge pull request #1161 from docker/readme-summaries
crazy-max Jun 27, 2024
99c8387
docs: subdir for git context supported since Docker 23
crazy-max Jun 30, 2024
9552610
Merge pull request #1166 from crazy-max/subdir-supported
crazy-max Jul 1, 2024
e75138d
chore(deps): Bump @docker/actions-toolkit from 0.29.0 to 0.30.0
dependabot[bot] Jul 2, 2024
a3c06e8
chore: update generated content
crazy-max Jul 2, 2024
dcb0699
Merge pull request #1169 from docker/dependabot/npm_and_yarn/docker/a…
crazy-max Jul 2, 2024
3dc0757
move summary support check right after build
crazy-max Jun 27, 2024
ec2d640
chore: update generated content
crazy-max Jul 2, 2024
709dde2
Merge pull request #1160 from crazy-max/check-summary-support
crazy-max Jul 2, 2024
9879021
rename DOCKER_BUILD_NO_SUMMARY to DOCKER_BUILD_SUMMARY_DISABLE
crazy-max Jul 2, 2024
9c7c277
chore: update generated content
crazy-max Jul 2, 2024
aabbd3f
Merge pull request #1170 from crazy-max/rename-summary-disable
crazy-max Jul 2, 2024
ad37ba1
chore(deps): Bump @docker/actions-toolkit from 0.30.0 to 0.31.0
dependabot[bot] Jul 2, 2024
fe9d9f1
chore: update generated content
crazy-max Jul 2, 2024
53ec486
Merge pull request #1171 from docker/dependabot/npm_and_yarn/docker/a…
crazy-max Jul 2, 2024
63eb759
switch DOCKER_BUILD_SUMMARY_DISABLE to DOCKER_BUILD_SUMMARY
crazy-max Jul 2, 2024
e7aab40
chore: update generated content
crazy-max Jul 2, 2024
bca5082
Merge pull request #1173 from crazy-max/build-summary-env-change
crazy-max Jul 2, 2024
de2365a
opt to disable build record upload
crazy-max Jul 2, 2024
11c2faa
rename DOCKER_BUILD_EXPORT_RETENTION_DAYS to DOCKER_BUILD_RECORD_RETE…
crazy-max Jul 2, 2024
9eea548
chore: update generated content
crazy-max Jul 2, 2024
1a16264
Merge pull request #1172 from crazy-max/build-export-disable
crazy-max Jul 2, 2024
522345f
set repository and ghtoken attributes for gha cache type
crazy-max Jun 10, 2024
ef76d10
chore: update generated content
crazy-max Jul 3, 2024
f23fb2a
Merge pull request #1133 from crazy-max/gha-cache-to
crazy-max Jul 15, 2024
267a69d
chore(deps): Bump @docker/actions-toolkit from 0.31.0 to 0.33.0
dependabot[bot] Jul 15, 2024
94dae62
chore: update generated content
crazy-max Jul 15, 2024
a254f8c
Merge pull request #1179 from docker/dependabot/npm_and_yarn/docker/a…
crazy-max Jul 15, 2024
d189d0e
Revert "set repository and ghtoken attributes for gha cache type"
crazy-max Jul 17, 2024
2c95ebe
chore: update generated content
crazy-max Jul 17, 2024
1ca370b
Merge pull request #1183 from crazy-max/revert-gha-cache-to
crazy-max Jul 17, 2024
a6067b9
chore(deps): Bump @docker/actions-toolkit from 0.33.0 to 0.34.0
dependabot[bot] Jul 18, 2024
d1fcdb6
chore: update generated content
crazy-max Jul 18, 2024
e050dfa
Merge pull request #1186 from docker/dependabot/npm_and_yarn/docker/a…
crazy-max Jul 19, 2024
597e8fc
chore(deps): Bump @docker/actions-toolkit from 0.34.0 to 0.35.0
dependabot[bot] Jul 22, 2024
ec10ae8
chore: update generated content
crazy-max Jul 22, 2024
5176d81
Merge pull request #1191 from docker/dependabot/npm_and_yarn/docker/a…
crazy-max Jul 22, 2024
a04f51d
chore(deps): Bump @docker/actions-toolkit from 0.35.0 to 0.36.0
dependabot[bot] Jul 30, 2024
1672e74
chore: update generated content
crazy-max Jul 30, 2024
a8d3541
Merge pull request #1196 from docker/dependabot/npm_and_yarn/docker/a…
crazy-max Jul 30, 2024
806a2a4
generate GitHub annotations for build checks
crazy-max Jul 30, 2024
175aa53
opt to disable github annotations generation for build checks
crazy-max Jul 31, 2024
7de3854
chore: update generated content
crazy-max Jul 30, 2024
2dbe91d
Merge pull request #1197 from crazy-max/build-checks
crazy-max Aug 6, 2024
3efbc13
chore(deps): Bump @docker/actions-toolkit from 0.36.0 to 0.37.0
dependabot[bot] Aug 7, 2024
ad3cd77
chore: update generated content
crazy-max Aug 7, 2024
4f7cdeb
Merge pull request #1198 from docker/dependabot/npm_and_yarn/docker/a…
crazy-max Aug 7, 2024
d92ab13
chore(deps): Bump @docker/actions-toolkit from 0.37.0 to 0.37.1
dependabot[bot] Aug 7, 2024
646a62b
chore: update generated content
crazy-max Aug 7, 2024
16ebe77
Merge pull request #1205 from docker/dependabot/npm_and_yarn/docker/a…
crazy-max Aug 7, 2024
23c657a
print info message for build summary support checks
crazy-max Aug 13, 2024
0aba704
chore: update generated content
crazy-max Aug 13, 2024
5cd11c3
Merge pull request #1211 from crazy-max/summary-info-message
crazy-max Aug 13, 2024
8f1ff6b
chore(deps): Bump @docker/actions-toolkit from 0.37.1 to 0.38.0
dependabot[bot] Sep 27, 2024
e0fe9cf
chore: update generated content
crazy-max Sep 27, 2024
32945a3
Merge pull request #1230 from docker/dependabot/npm_and_yarn/docker/a…
crazy-max Sep 27, 2024
67ebad3
chore(deps): Bump path-to-regexp from 6.2.2 to 6.3.0
dependabot[bot] Sep 27, 2024
e44afff
Merge pull request #1232 from docker/dependabot/npm_and_yarn/path-to-…
crazy-max Sep 27, 2024
13c9fdd
chore(deps): Bump @docker/actions-toolkit from 0.38.0 to 0.39.0
dependabot[bot] Sep 30, 2024
49b5ea6
chore: update generated content
crazy-max Sep 30, 2024
4f58ea7
Merge pull request #1234 from docker/dependabot/npm_and_yarn/docker/a…
crazy-max Sep 30, 2024
b249570
ci: publish as immutable action workflow
crazy-max Oct 25, 2024
5e99dac
Merge pull request #1245 from crazy-max/publish-immutable-action
crazy-max Oct 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
/coverage
/node_modules

# Dependency directories
node_modules/
jspm_packages/

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"ecmaVersion": 2023,
"sourceType": "module"
},
"plugins": [
Expand Down
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
/.yarn/releases/** binary
/.yarn/plugins/** binary
/dist/** linguist-generated=true
/lib/** linguist-generated=true
Binary file added .github/build-push-summary.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion .github/workflows/.e2e-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
uses: docker/setup-buildx-action@v3
with:
version: ${{ matrix.buildx_version }}
config: /tmp/buildkitd.toml
buildkitd-config: /tmp/buildkitd.toml
buildkitd-flags: --debug --allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host
driver-opts: |
image=${{ matrix.buildkit_image }}
Expand Down
314 changes: 314 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -942,6 +942,63 @@ jobs:
run: |
docker buildx imagetools inspect localhost:5000/name/app:1.0.0 --format '{{json .}}'

local-cache:
runs-on: ubuntu-latest
services:
registry:
image: registry:2
ports:
- 5000:5000
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: ${{ inputs.buildx-version || env.BUILDX_VERSION }}
driver-opts: |
network=host
image=${{ inputs.buildkit-image || env.BUILDKIT_IMAGE }}
buildkitd-flags: --debug
-
name: Cache Build
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-local-test-${{ github.sha }}
restore-keys: |
${{ runner.os }}-local-test-
-
name: Build and push
uses: ./
with:
context: ./test
file: ./test/multi.Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: |
localhost:5000/name/app:latest
localhost:5000/name/app:1.0.0
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new
-
name: Inspect
run: |
docker buildx imagetools inspect localhost:5000/name/app:1.0.0 --format '{{json .}}'
-
# Temp fix
# https://github.com/docker/build-push-action/issues/252
# https://github.com/moby/buildkit/issues/1896
name: Move cache
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache

standalone:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -1197,3 +1254,260 @@ jobs:
name: Check manifest
run: |
docker buildx imagetools inspect ${{ env.DOCKER_IMAGE }}:${{ steps.meta.outputs.version }} --format '{{json .}}'

multi-output:
runs-on: ubuntu-latest
services:
registry:
image: registry:2
ports:
- 5000:5000
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: ${{ inputs.buildx-version || env.BUILDX_VERSION }}
driver-opts: |
network=host
image=${{ inputs.buildkit-image || env.BUILDKIT_IMAGE }}
buildkitd-flags: --debug
-
name: Build
uses: ./
with:
context: ./test
file: ./test/Dockerfile
outputs: |
type=image,name=localhost:5000/name/app:latest,push=true
type=docker,name=app:local
type=oci,dest=/tmp/oci.tar
-
name: Check registry
run: |
docker buildx imagetools inspect localhost:5000/name/app:latest --format '{{json .}}'
-
name: Check docker
run: |
docker image inspect app:local
-
name: Check oci
run: |
set -ex
mkdir -p /tmp/oci-out
tar xf /tmp/oci.tar -C /tmp/oci-out
tree -nh /tmp/oci-out

load-and-push:
runs-on: ubuntu-latest
services:
registry:
image: registry:2
ports:
- 5000:5000
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: ${{ inputs.buildx-version || env.BUILDX_VERSION }}
driver-opts: |
network=host
image=${{ inputs.buildkit-image || env.BUILDKIT_IMAGE }}
buildkitd-flags: --debug
-
name: Build
uses: ./
with:
context: ./test
file: ./test/Dockerfile
load: true
push: true
tags: localhost:5000/name/app:latest
-
name: Check registry
run: |
docker buildx imagetools inspect localhost:5000/name/app:latest --format '{{json .}}'
-
name: Check docker
run: |
docker image inspect localhost:5000/name/app:latest

summary-disable:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
with:
path: action
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: ${{ inputs.buildx-version || env.BUILDX_VERSION }}
driver-opts: |
image=${{ inputs.buildkit-image || env.BUILDKIT_IMAGE }}
-
name: Build
uses: ./action
with:
file: ./test/Dockerfile
env:
DOCKER_BUILD_SUMMARY: false

summary-disable-deprecated:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
with:
path: action
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: ${{ inputs.buildx-version || env.BUILDX_VERSION }}
driver-opts: |
image=${{ inputs.buildkit-image || env.BUILDKIT_IMAGE }}
-
name: Build
uses: ./action
with:
file: ./test/Dockerfile
env:
DOCKER_BUILD_NO_SUMMARY: true

summary-not-supported:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
with:
path: action
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: v0.12.1
driver-opts: |
image=${{ inputs.buildkit-image || env.BUILDKIT_IMAGE }}
-
name: Build
uses: ./action
with:
file: ./test/Dockerfile

record-upload-disable:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
with:
path: action
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: ${{ inputs.buildx-version || env.BUILDX_VERSION }}
driver-opts: |
image=${{ inputs.buildkit-image || env.BUILDKIT_IMAGE }}
-
name: Build
uses: ./action
with:
file: ./test/Dockerfile
env:
DOCKER_BUILD_RECORD_UPLOAD: false

record-retention-days:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
days:
- 2
- 0
steps:
-
name: Checkout
uses: actions/checkout@v4
with:
path: action
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: ${{ inputs.buildx-version || env.BUILDX_VERSION }}
driver-opts: |
image=${{ inputs.buildkit-image || env.BUILDKIT_IMAGE }}
-
name: Build
uses: ./action
with:
file: ./test/Dockerfile
env:
DOCKER_BUILD_RECORD_RETENTION_DAYS: ${{ matrix.days }}

checks:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
buildx-version:
- latest
- v0.14.1
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: ${{ matrix.buildx-version }}
driver-opts: |
image=${{ inputs.buildkit-image || env.BUILDKIT_IMAGE }}
-
name: Build
uses: ./
with:
context: ./test
file: ./test/lint.Dockerfile

annotations-disabled:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: ${{ inputs.buildx-version || env.BUILDX_VERSION }}
driver-opts: |
image=${{ inputs.buildkit-image || env.BUILDKIT_IMAGE }}
-
name: Build
uses: ./
with:
context: ./test
file: ./test/lint.Dockerfile
env:
DOCKER_BUILD_CHECKS_ANNOTATIONS: false
14 changes: 7 additions & 7 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ jobs:
username_secret: QUAY_USERNAME
password_secret: QUAY_TOKEN
type: remote
# -
# name: Artifactory
# registry: sforzando-build-team-local.jfrog.io
# slug: sforzando-build-team-local.jfrog.io/build-push-action-e2e
# username_secret: ARTIFACTORY_USERNAME
# password_secret: ARTIFACTORY_TOKEN
# type: remote
-
name: Artifactory
registry: infradock.jfrog.io
slug: infradock.jfrog.io/test-ghaction/build-push-action
username_secret: ARTIFACTORY_USERNAME
password_secret: ARTIFACTORY_TOKEN
type: remote
-
name: Harbor
id: harbor
Expand Down
Loading