Compare commits

..

12 Commits

Author SHA1 Message Date
CrazyMax
bcafcacb16 Merge pull request #1509 from docker/dependabot/npm_and_yarn/vite-7.3.2
Some checks failed
codeql / analyze (push) Failing after 0s
test / test (push) Failing after 1s
validate / prepare (push) Failing after 1s
validate / validate (push) Has been skipped
zizmor / zizmor (push) Failing after 1s
e2e / build (acr, Azure Container Registry, officialgithubactions.azurecr.io, officialgithubactions.azurecr.io/test-docker-action, remote) (push) Failing after 0s
e2e / build (artifactory, Artifactory, infradock.jfrog.io, infradock.jfrog.io/test-ghaction/build-push-action, remote) (push) Failing after 0s
e2e / build (aws, AWS ECR Public, public.ecr.aws, public.ecr.aws/q3b5f1u4/test-docker-action, remote) (push) Failing after 0s
e2e / build (aws, AWS ECR, 175142243308.dkr.ecr.us-east-2.amazonaws.com, 175142243308.dkr.ecr.us-east-2.amazonaws.com/sandbox/test-docker-action, remote) (push) Failing after 0s
e2e / build (dockerhub, Docker Hub, , ghactionstest/ghactionstest, remote) (push) Failing after 0s
e2e / build (gar, Google Artifact Registry, us-east4-docker.pkg.dev, us-east4-docker.pkg.dev/sandbox-298914/docker-official-github-actions/test-docker-action, remote) (push) Failing after 0s
e2e / build (ghcr, GitHub, ghcr.io, ghcr.io/docker-ghactiontest/test, remote) (push) Failing after 0s
e2e / build (gitlab, GitLab, registry.gitlab.com, registry.gitlab.com/test1716/test, remote) (push) Failing after 0s
e2e / build (none, distribution, Distribution, local) (push) Failing after 0s
e2e / build (none, harbor, Harbor, local) (push) Failing after 0s
e2e / build (none, nexus, Nexus, local) (push) Failing after 0s
e2e / build (quay, Quay, quay.io, quay.io/docker_build_team/ghactiontest, remote) (push) Failing after 0s
ci / minimal (push) Failing after 0s
ci / git-context (push) Failing after 0s
ci / git-context-query (push) Failing after 0s
ci / git-context-secret (push) Failing after 0s
ci / path-context (push) Failing after 1s
ci / example (push) Failing after 1s
ci / error-buildx (push) Failing after 0s
ci / error (push) Failing after 0s
ci / export-docker (push) Failing after 0s
ci / docker-driver (push) Failing after 0s
ci / secret-files (push) Failing after 0s
ci / secret (push) Failing after 0s
ci / secret-envs (push) Failing after 0s
ci / network (push) Failing after 0s
ci / shm-size (push) Failing after 0s
ci / cgroup-parent (push) Failing after 0s
ci / ulimit (push) Failing after 0s
ci / add-hosts (push) Failing after 0s
ci / no-cache-filters (push) Failing after 0s
ci / attests-compat (moby/buildkit:buildx-stable-1, latest) (push) Failing after 0s
ci / attests-compat (moby/buildkit:buildx-stable-1, v0.9.1) (push) Failing after 0s
ci / attests-compat (moby/buildkit:latest, edge) (push) Failing after 0s
ci / attests-compat (moby/buildkit:v0.10.6, latest) (push) Failing after 0s
ci / provenance (, /tmp/buildx-build, binary) (push) Failing after 0s
ci / provenance (, type=image,name=localhost:5000/name/app:latest,push=true, image) (push) Failing after 0s
ci / provenance (mode=max, /tmp/buildx-build, binary) (push) Failing after 0s
ci / sbom (/tmp/buildx-build, binary) (push) Failing after 0s
ci / provenance (mode=max, type=image,name=localhost:5000/name/app:latest,push=true, image) (push) Failing after 0s
ci / sbom (type=image,name=localhost:5000/name/app:latest,push=true, image) (push) Failing after 0s
ci / multi (multi) (push) Failing after 0s
ci / multi (multi-sudo) (push) Failing after 0s
ci / digest (docker, false, false) (push) Failing after 0s
ci / digest (docker, false, true) (push) Failing after 0s
ci / digest (docker, true, false) (push) Failing after 0s
ci / digest (docker-container, false, false) (push) Failing after 0s
ci / digest (docker-container, false, true) (push) Failing after 0s
ci / digest (docker-container, true, false) (push) Failing after 0s
ci / registry-cache (push) Failing after 0s
ci / github-cache (push) Failing after 0s
ci / local-cache (push) Failing after 1s
ci / standalone (push) Failing after 0s
ci / named-context-pin (push) Failing after 1s
ci / named-context-container (push) Failing after 0s
ci / named-context-docker (push) Failing after 0s
ci / proxy-docker-config (push) Failing after 0s
ci / docker-config-malformed (push) Failing after 0s
ci / proxy-buildkitd (push) Failing after 0s
ci / annotations (push) Failing after 0s
ci / multi-output (push) Failing after 0s
ci / load-and-push (push) Failing after 1s
ci / summary-disable (push) Failing after 0s
ci / summary-not-supported (push) Failing after 0s
ci / record-upload-disable (push) Failing after 0s
ci / record-retention-days (0) (push) Failing after 1s
ci / record-retention-days (2) (push) Failing after 0s
ci / checks (edge) (push) Failing after 0s
ci / checks (latest) (push) Failing after 0s
ci / checks (v0.14.1) (push) Failing after 0s
ci / annotations-disabled (push) Failing after 0s
ci / call-check (push) Failing after 0s
ci / no-default-attestations (push) Failing after 0s
chore(deps): Bump vite from 7.3.1 to 7.3.2
2026-04-09 19:49:37 +02:00
CrazyMax
18e62f1158 Merge pull request #1510 from docker/dependabot/npm_and_yarn/lodash-4.18.1
chore(deps): Bump lodash from 4.17.23 to 4.18.1
2026-04-09 19:48:40 +02:00
github-actions[bot]
46580d2c9d chore: update generated content 2026-04-09 17:44:17 +00:00
dependabot[bot]
3f80b252ca chore(deps): Bump lodash from 4.17.23 to 4.18.1
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.23 to 4.18.1.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.23...4.18.1)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.18.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-09 17:43:05 +00:00
CrazyMax
efeec9557c Merge pull request #1505 from crazy-max/refactor-git-context
refactor: use new gitContext for build context resolution
2026-04-09 19:38:17 +02:00
CrazyMax
ddf04b08eb Merge pull request #1511 from docker/dependabot/github_actions/crazy-max-dot-github-f0991e81fd
chore(deps): Bump the crazy-max-dot-github group with 2 updates
2026-04-09 10:21:34 +02:00
dependabot[bot]
db08d97a08 chore(deps): Bump the crazy-max-dot-github group with 2 updates
Bumps the crazy-max-dot-github group with 2 updates: [crazy-max/.github/.github/workflows/pr-assign-author.yml](https://github.com/crazy-max/.github) and [crazy-max/.github/.github/workflows/zizmor.yml](https://github.com/crazy-max/.github).


Updates `crazy-max/.github/.github/workflows/pr-assign-author.yml` from 1.3.0 to 1.6.0
- [Release notes](https://github.com/crazy-max/.github/releases)
- [Commits](bb328ea508...d89fe92d80)

Updates `crazy-max/.github/.github/workflows/zizmor.yml` from 1.3.0 to 1.6.0
- [Release notes](https://github.com/crazy-max/.github/releases)
- [Commits](bb328ea508...d89fe92d80)

---
updated-dependencies:
- dependency-name: crazy-max/.github/.github/workflows/pr-assign-author.yml
  dependency-version: 1.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: crazy-max-dot-github
- dependency-name: crazy-max/.github/.github/workflows/zizmor.yml
  dependency-version: 1.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: crazy-max-dot-github
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-09 08:17:23 +00:00
CrazyMax
ef1fb9688f Merge pull request #1508 from docker/dependabot/github_actions/docker/login-action-4.1.0
chore(deps): Bump docker/login-action from 4.0.0 to 4.1.0
2026-04-08 12:55:35 +02:00
CrazyMax
2d8f2a1a37 chore: update generated content
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-04-08 12:50:34 +02:00
CrazyMax
919ac7bd7d fix test since secrets are not written to temp path anymore
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-04-08 12:49:36 +02:00
dependabot[bot]
c991b20ccb chore(deps): Bump vite from 7.3.1 to 7.3.2
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 7.3.1 to 7.3.2.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v7.3.2/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v7.3.2/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 7.3.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-06 21:43:23 +00:00
dependabot[bot]
e2565a753f chore(deps): Bump docker/login-action from 4.0.0 to 4.1.0
Bumps [docker/login-action](https://github.com/docker/login-action) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](b45d80f862...4907a6ddec)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-version: 4.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-06 11:53:15 +00:00
9 changed files with 64 additions and 27 deletions

View File

@@ -114,7 +114,7 @@ jobs:
- -
name: Login to Registry name: Login to Registry
if: github.event_name != 'pull_request' && (inputs.type == 'remote' || env.REGISTRY_USER != '') if: github.event_name != 'pull_request' && (inputs.type == 'remote' || env.REGISTRY_USER != '')
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0 uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
with: with:
registry: ${{ env.REGISTRY_FQDN || inputs.registry }} registry: ${{ env.REGISTRY_FQDN || inputs.registry }}
username: ${{ env.REGISTRY_USER || secrets.registry_username }} username: ${{ env.REGISTRY_USER || secrets.registry_username }}

View File

@@ -445,6 +445,29 @@ jobs:
MYSECRET=foo MYSECRET=foo
INVALID_SECRET= INVALID_SECRET=
secret-files:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
with:
version: ${{ inputs.buildx-version || env.BUILDX_VERSION }}
driver-opts: |
image=${{ inputs.buildkit-image || env.BUILDKIT_IMAGE }}
-
name: Build
uses: ./
with:
context: .
file: ./test/secret.Dockerfile
secret-files: |
MYSECRET=./test/secret.txt
INVALID_SECRET=
secret-envs: secret-envs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:

View File

@@ -11,7 +11,7 @@ on:
jobs: jobs:
run: run:
uses: crazy-max/.github/.github/workflows/pr-assign-author.yml@bb328ea508cd6a89d0865555ddbeb148e5724aed # v1.3.0 uses: crazy-max/.github/.github/workflows/pr-assign-author.yml@d89fe92d808a15e2b2ed5cdb62db7c172c31410d # v1.6.0
permissions: permissions:
contents: read contents: read
pull-requests: write pull-requests: write

View File

@@ -19,7 +19,7 @@ on:
jobs: jobs:
zizmor: zizmor:
uses: crazy-max/.github/.github/workflows/zizmor.yml@bb328ea508cd6a89d0865555ddbeb148e5724aed # v1.3.0 uses: crazy-max/.github/.github/workflows/zizmor.yml@d89fe92d808a15e2b2ed5cdb62db7c172c31410d # v1.6.0
permissions: permissions:
contents: read contents: read
security-events: write security-events: write

View File

@@ -389,7 +389,7 @@ ccc`],
'build', 'build',
'--file', './test/Dockerfile', '--file', './test/Dockerfile',
'--iidfile', imageIDFilePath, '--iidfile', imageIDFilePath,
'--secret', `id=MY_SECRET,src=${tmpName}`, '--secret', `id=MY_SECRET,src=${path.join(fixturesDir, 'secret.txt')}`,
'--builder', 'builder-git-context-2', '--builder', 'builder-git-context-2',
'--network', 'host', '--network', 'host',
'--push', '--push',

45
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

1
test/secret.txt Normal file
View File

@@ -0,0 +1 @@
foo

View File

@@ -3126,9 +3126,9 @@ __metadata:
linkType: hard linkType: hard
"lodash@npm:^4.17.15": "lodash@npm:^4.17.15":
version: 4.17.23 version: 4.18.1
resolution: "lodash@npm:4.17.23" resolution: "lodash@npm:4.18.1"
checksum: 10/82504c88250f58da7a5a4289f57a4f759c44946c005dd232821c7688b5fcfbf4a6268f6a6cdde4b792c91edd2f3b5398c1d2a0998274432cff76def48735e233 checksum: 10/306fea53dfd39dad1f03d45ba654a2405aebd35797b673077f401edb7df2543623dc44b9effbb98f69b32152295fff725a4cec99c684098947430600c6af0c3f
languageName: node languageName: node
linkType: hard linkType: hard
@@ -4537,8 +4537,8 @@ __metadata:
linkType: hard linkType: hard
"vite@npm:^6.0.0 || ^7.0.0": "vite@npm:^6.0.0 || ^7.0.0":
version: 7.3.1 version: 7.3.2
resolution: "vite@npm:7.3.1" resolution: "vite@npm:7.3.2"
dependencies: dependencies:
esbuild: "npm:^0.27.0" esbuild: "npm:^0.27.0"
fdir: "npm:^6.5.0" fdir: "npm:^6.5.0"
@@ -4587,7 +4587,7 @@ __metadata:
optional: true optional: true
bin: bin:
vite: bin/vite.js vite: bin/vite.js
checksum: 10/62e48ffa4283b688f0049005405a004447ad38ffc99a0efea4c3aa9b7eed739f7402b43f00668c0ee5a895b684dc953d62f0722d8a92c5b2f6c95f051bceb208 checksum: 10/c5f7a9a60011c41c836cedf31c8ee7624102aff9b6a7f3aab2ff47639721bba0916f81994c3a3ea6577a16c4f0dfee1e7dbd244e0da8edd5954e3c6d48daaaa2
languageName: node languageName: node
linkType: hard linkType: hard