Compare commits

..

5 Commits
v6.19.1 ... v6

Author SHA1 Message Date
CrazyMax
10e90e3645 Merge pull request #1458 from crazy-max/git-auth-port
Some checks failed
validate / prepare (push) Successful in 11s
test / test (push) Successful in 38s
validate / validate (push) Successful in 1m12s
e2e / build (AWS ECR Public, AWS_SECRET_ACCESS_KEY, public.ecr.aws, public.ecr.aws/q3b5f1u4/test-docker-action, remote, AWS_ACCESS_KEY_ID) (push) Failing after 1m5s
e2e / build (Docker Hub, DOCKERHUB_TOKEN, , ghactionstest/ghactionstest, remote, DOCKERHUB_USERNAME) (push) Failing after 1m1s
e2e / build (GitLab, GITLAB_TOKEN, registry.gitlab.com, registry.gitlab.com/test1716/test, remote, GITLAB_USERNAME) (push) Failing after 1m2s
e2e / build (Azure Container Registry, AZURE_CLIENT_SECRET, officialgithubactions.azurecr.io, officialgithubactions.azurecr.io/test-docker-action, remote, AZURE_CLIENT_ID) (push) Failing after 1m5s
e2e / build (Google Artifact Registry, GAR_JSON_KEY, us-east4-docker.pkg.dev, us-east4-docker.pkg.dev/sandbox-298914/docker-official-github-actions/test-docker-action, remote, GAR_USERNAME) (push) Failing after 1m2s
e2e / build (Artifactory, ARTIFACTORY_TOKEN, infradock.jfrog.io, infradock.jfrog.io/test-ghaction/build-push-action, remote, ARTIFACTORY_USERNAME) (push) Failing after 1m5s
e2e / build (AWS ECR, AWS_SECRET_ACCESS_KEY, 175142243308.dkr.ecr.us-east-2.amazonaws.com, 175142243308.dkr.ecr.us-east-2.amazonaws.com/sandbox/test-docker-action, remote, AWS_ACCESS_KEY_ID) (push) Failing after 1m6s
e2e / build (GitHub, GHCR_PAT, ghcr.io, ghcr.io/docker-ghactiontest/test, remote, GHCR_USERNAME) (push) Failing after 1m5s
ci / git-context-secret (push) Failing after 6s
ci / example (push) Failing after 6s
e2e / build (nexus, Nexus, local) (push) Failing after 29s
e2e / build (distribution, Distribution, local) (push) Failing after 32s
e2e / build (harbor, Harbor, local) (push) Failing after 32s
ci / error (push) Failing after 17s
ci / docker-driver (push) Failing after 7s
ci / path-context (push) Failing after 38s
e2e / build (Quay, QUAY_TOKEN, quay.io, quay.io/docker_build_team/ghactiontest, remote, QUAY_USERNAME) (push) Failing after 46s
ci / export-docker (push) Successful in 13s
ci / secret (push) Successful in 20s
ci / error-buildx (push) Successful in 28s
ci / secret-envs (push) Successful in 19s
ci / network (push) Successful in 21s
ci / shm-size (push) Successful in 23s
ci / ulimit (push) Successful in 22s
ci / cgroup-parent (push) Successful in 19s
ci / minimal (push) Successful in 1m17s
ci / attests-compat (moby/buildkit:buildx-stable-1, v0.9.1) (push) Failing after 10s
ci / add-hosts (push) Successful in 22s
ci / no-cache-filters (push) Successful in 21s
ci / provenance (, type=image,name=localhost:5000/name/app:latest,push=true, image) (push) Failing after 6s
ci / provenance (mode=max, /tmp/buildx-build, binary) (push) Failing after 6s
ci / provenance (mode=max, type=image,name=localhost:5000/name/app:latest,push=true, image) (push) Failing after 7s
ci / sbom (/tmp/buildx-build, binary) (push) Failing after 6s
ci / sbom (type=image,name=localhost:5000/name/app:latest,push=true, image) (push) Failing after 6s
ci / multi (multi) (push) Failing after 6s
ci / git-context (push) Failing after 1m32s
ci / attests-compat (moby/buildkit:buildx-stable-1, latest) (push) Successful in 32s
ci / multi (multi-sudo) (push) Failing after 7s
ci / digest (docker, false, false) (push) Failing after 7s
ci / attests-compat (moby/buildkit:latest, edge) (push) Successful in 33s
ci / attests-compat (moby/buildkit:v0.10.6, latest) (push) Successful in 29s
ci / digest (docker, true, false) (push) Failing after 6s
ci / digest (docker-container, false, false) (push) Failing after 6s
ci / digest (docker-container, false, true) (push) Failing after 6s
ci / digest (docker-container, true, false) (push) Failing after 6s
ci / digest (docker, false, true) (push) Failing after 15s
ci / github-cache (push) Failing after 7s
ci / local-cache (push) Failing after 7s
ci / provenance (, /tmp/buildx-build, binary) (push) Failing after 33s
ci / named-context-container (push) Failing after 7s
ci / proxy-docker-config (push) Failing after 7s
ci / proxy-buildkitd (push) Failing after 8s
ci / named-context-docker (push) Successful in 14s
ci / docker-config-malformed (push) Successful in 11s
ci / standalone (push) Successful in 19s
ci / annotations (push) Failing after 6s
ci / named-context-pin (push) Successful in 20s
ci / multi-output (push) Failing after 6s
ci / summary-not-supported (push) Failing after 10s
ci / registry-cache (push) Failing after 33s
ci / load-and-push (push) Failing after 31s
ci / checks (edge) (push) Successful in 18s
ci / checks (latest) (push) Successful in 18s
ci / checks (v0.14.1) (push) Successful in 20s
ci / annotations-disabled (push) Successful in 26s
ci / call-check (push) Successful in 22s
ci / summary-disable (push) Successful in 2m34s
ci / record-upload-disable (push) Successful in 2m55s
ci / export-legacy (false) (push) Successful in 2m52s
ci / summary-disable-deprecated (push) Successful in 3m11s
ci / record-retention-days (0) (push) Successful in 3m10s
ci / export-legacy (true) (push) Successful in 2m58s
ci / record-retention-days (2) (push) Successful in 3m17s
ci / no-default-attestations (push) Successful in 1m47s
preserve port in GIT_AUTH_TOKEN host
2026-02-12 09:49:36 +01:00
CrazyMax
5262538458 chore: update generated content
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-02-12 01:26:27 +01:00
CrazyMax
cd130e45cb preserve port in GIT_AUTH_TOKEN host
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-02-12 01:24:04 +01:00
CrazyMax
806c75105a Merge pull request #1452 from crazy-max/update-yarn
Some checks failed
validate / prepare (push) Successful in 9s
test / test (push) Successful in 59s
validate / validate (push) Successful in 1m9s
e2e / build (Docker Hub, DOCKERHUB_TOKEN, , ghactionstest/ghactionstest, remote, DOCKERHUB_USERNAME) (push) Failing after 1m4s
e2e / build (AWS ECR Public, AWS_SECRET_ACCESS_KEY, public.ecr.aws, public.ecr.aws/q3b5f1u4/test-docker-action, remote, AWS_ACCESS_KEY_ID) (push) Failing after 1m8s
e2e / build (Azure Container Registry, AZURE_CLIENT_SECRET, officialgithubactions.azurecr.io, officialgithubactions.azurecr.io/test-docker-action, remote, AZURE_CLIENT_ID) (push) Failing after 1m12s
e2e / build (Google Artifact Registry, GAR_JSON_KEY, us-east4-docker.pkg.dev, us-east4-docker.pkg.dev/sandbox-298914/docker-official-github-actions/test-docker-action, remote, GAR_USERNAME) (push) Failing after 1m10s
e2e / build (Artifactory, ARTIFACTORY_TOKEN, infradock.jfrog.io, infradock.jfrog.io/test-ghaction/build-push-action, remote, ARTIFACTORY_USERNAME) (push) Failing after 1m13s
e2e / build (GitHub, GHCR_PAT, ghcr.io, ghcr.io/docker-ghactiontest/test, remote, GHCR_USERNAME) (push) Failing after 1m11s
e2e / build (GitLab, GITLAB_TOKEN, registry.gitlab.com, registry.gitlab.com/test1716/test, remote, GITLAB_USERNAME) (push) Failing after 1m11s
e2e / build (AWS ECR, AWS_SECRET_ACCESS_KEY, 175142243308.dkr.ecr.us-east-2.amazonaws.com, 175142243308.dkr.ecr.us-east-2.amazonaws.com/sandbox/test-docker-action, remote, AWS_ACCESS_KEY_ID) (push) Failing after 1m15s
e2e / build (distribution, Distribution, local) (push) Failing after 14s
e2e / build (Quay, QUAY_TOKEN, quay.io, quay.io/docker_build_team/ghactiontest, remote, QUAY_USERNAME) (push) Failing after 27s
e2e / build (harbor, Harbor, local) (push) Failing after 22s
ci / error (push) Failing after 6s
ci / docker-driver (push) Failing after 6s
ci / export-docker (push) Successful in 13s
ci / path-context (push) Failing after 34s
ci / example (push) Failing after 27s
ci / secret (push) Successful in 20s
ci / error-buildx (push) Successful in 28s
ci / secret-envs (push) Successful in 21s
ci / network (push) Successful in 22s
ci / shm-size (push) Successful in 21s
ci / ulimit (push) Successful in 22s
ci / minimal (push) Successful in 1m1s
ci / cgroup-parent (push) Successful in 19s
ci / add-hosts (push) Successful in 20s
ci / attests-compat (moby/buildkit:buildx-stable-1, v0.9.1) (push) Failing after 11s
ci / no-cache-filters (push) Successful in 23s
ci / provenance (mode=max, /tmp/buildx-build, binary) (push) Failing after 6s
ci / provenance (mode=max, type=image,name=localhost:5000/name/app:latest,push=true, image) (push) Failing after 6s
ci / sbom (/tmp/buildx-build, binary) (push) Failing after 6s
ci / git-context (push) Failing after 1m22s
ci / multi (multi) (push) Failing after 6s
ci / multi (multi-sudo) (push) Failing after 6s
ci / attests-compat (moby/buildkit:buildx-stable-1, latest) (push) Successful in 38s
ci / digest (docker, false, false) (push) Failing after 7s
ci / attests-compat (moby/buildkit:v0.10.6, latest) (push) Successful in 35s
ci / digest (docker, false, true) (push) Failing after 6s
ci / attests-compat (moby/buildkit:latest, edge) (push) Successful in 40s
ci / provenance (, /tmp/buildx-build, binary) (push) Failing after 35s
ci / digest (docker, true, false) (push) Failing after 6s
ci / digest (docker-container, false, false) (push) Failing after 6s
ci / digest (docker-container, false, true) (push) Failing after 6s
ci / digest (docker-container, true, false) (push) Failing after 6s
ci / provenance (, type=image,name=localhost:5000/name/app:latest,push=true, image) (push) Failing after 36s
ci / github-cache (push) Failing after 6s
ci / local-cache (push) Failing after 6s
ci / sbom (type=image,name=localhost:5000/name/app:latest,push=true, image) (push) Failing after 31s
ci / proxy-docker-config (push) Failing after 7s
ci / docker-config-malformed (push) Successful in 8s
ci / proxy-buildkitd (push) Failing after 7s
ci / standalone (push) Successful in 18s
ci / named-context-docker (push) Successful in 16s
ci / annotations (push) Failing after 6s
ci / load-and-push (push) Failing after 6s
ci / named-context-pin (push) Successful in 21s
ci / named-context-container (push) Successful in 24s
ci / summary-not-supported (push) Failing after 9s
ci / registry-cache (push) Failing after 33s
ci / multi-output (push) Failing after 26s
ci / checks (edge) (push) Successful in 19s
ci / checks (latest) (push) Successful in 18s
ci / checks (v0.14.1) (push) Successful in 18s
ci / annotations-disabled (push) Successful in 18s
ci / call-check (push) Successful in 24s
ci / summary-disable (push) Successful in 3m7s
ci / export-legacy (false) (push) Successful in 3m0s
ci / summary-disable-deprecated (push) Successful in 3m28s
ci / record-upload-disable (push) Successful in 3m29s
ci / record-retention-days (2) (push) Successful in 3m22s
ci / export-legacy (true) (push) Successful in 3m19s
ci / record-retention-days (0) (push) Successful in 3m35s
ci / no-default-attestations (push) Successful in 2m3s
ci / git-context-secret (push) Failing after 12m44s
e2e / build (nexus, Nexus, local) (push) Failing after 12m46s
update yarn to 4.9.2
2026-02-11 19:59:17 +01:00
CrazyMax
c4ca8486a6 update yarn to 4.9.2
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-02-10 17:54:01 +01:00
8 changed files with 2094 additions and 2585 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,3 +1,9 @@
# https://yarnpkg.com/configuration/yarnrc
compressionLevel: mixed
enableGlobalCache: false
enableHardenedMode: true
logFilters:
- code: YN0013
level: discard
@@ -5,9 +11,7 @@ logFilters:
level: discard
- code: YN0076
level: discard
- code: YN0086
level: discard
nodeLinker: node-modules
plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"

View File

@@ -857,6 +857,52 @@ ANOTHER_SECRET=ANOTHER_SECRET_ENV`]
['BUILDX_NO_DEFAULT_ATTESTATIONS', '1']
])
],
[
35,
'0.13.1',
new Map<string, string>([
['github-token', 'abcdefghijklmno0123456789'],
['context', '{{defaultContext}}'],
['load', 'false'],
['no-cache', 'false'],
['push', 'false'],
['pull', 'false'],
]),
[
'build',
'--iidfile', imageIDFilePath,
'--attest', `type=provenance,mode=min,inline-only=true,builder-id=http://10.0.0.5:22827/docker/build-push-action/actions/runs/123456789/attempts/1`,
'--secret', `id=GIT_AUTH_TOKEN.10.0.0.5:22827,src=${tmpName}`,
'--metadata-file', metadataJson,
'http://10.0.0.5:22827/docker/build-push-action.git#refs/heads/master'
],
new Map<string, string>([
['GITHUB_SERVER_URL', 'http://10.0.0.5:22827'],
])
],
[
36,
'0.13.1',
new Map<string, string>([
['github-token', 'abcdefghijklmno0123456789'],
['context', '{{defaultContext}}'],
['load', 'false'],
['no-cache', 'false'],
['push', 'false'],
['pull', 'false'],
]),
[
'build',
'--iidfile', imageIDFilePath,
'--attest', `type=provenance,mode=min,inline-only=true,builder-id=https://github.cds.internal.unity3d.com/docker/build-push-action/actions/runs/123456789/attempts/1`,
'--secret', `id=GIT_AUTH_TOKEN.github.cds.internal.unity3d.com,src=${tmpName}`,
'--metadata-file', metadataJson,
'https://github.cds.internal.unity3d.com/docker/build-push-action.git#refs/heads/master'
],
new Map<string, string>([
['GITHUB_SERVER_URL', 'https://github.cds.internal.unity3d.com'],
])
],
])(
'[%d] given %p with %p as inputs, returns %p',
async (num: number, buildxVersion: string, inputs: Map<string, string>, expected: Array<string>, envs: Map<string, string> | undefined) => {

2
dist/index.js generated vendored

File diff suppressed because one or more lines are too long

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@@ -24,7 +24,7 @@
],
"author": "Docker Inc.",
"license": "Apache-2.0",
"packageManager": "yarn@3.6.3",
"packageManager": "yarn@4.9.2",
"dependencies": {
"@actions/core": "^1.11.1",
"@docker/actions-toolkit": "0.62.1",

View File

@@ -183,7 +183,7 @@ async function getBuildArgs(inputs: Inputs, context: string, toolkit: Toolkit):
}
});
if (inputs['github-token'] && !Build.hasGitAuthTokenSecret(inputs.secrets) && context.startsWith(Context.gitContext())) {
args.push('--secret', Build.resolveSecretString(`GIT_AUTH_TOKEN.${new URL(GitHub.serverURL).hostname.trimEnd()}=${inputs['github-token']}`));
args.push('--secret', Build.resolveSecretString(`GIT_AUTH_TOKEN.${new URL(GitHub.serverURL).host.trimEnd()}=${inputs['github-token']}`));
}
if (inputs['shm-size']) {
args.push('--shm-size', inputs['shm-size']);

4072
yarn.lock

File diff suppressed because it is too large Load Diff