Compare commits

..

5 Commits

Author SHA1 Message Date
github-actions[bot]
645d447ff9 [dependabot skip] chore: update generated content 2026-10-03 17:01:19 +00:00
dependabot[bot]
d74b29ffd8 build(deps): bump brace-expansion from 1.1.18 to 1.1.21
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.18 to 1.1.21.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v1.1.18...v1.1.21)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.21
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-03 17:00:25 +00:00
CrazyMax
f87e5991a6 Merge pull request #624 from crazy-max/skip-pull-with-endpoint
skip BuildKit image pre-pulls for explicit endpoints
2026-09-16 09:47:45 +02:00
CrazyMax
e7002743e0 chore: update generated content
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-09-16 09:40:54 +02:00
CrazyMax
3061c919c6 skip BuildKit image pre-pulls for explicit endpoints
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-09-16 09:40:53 +02:00
6 changed files with 112 additions and 93 deletions

View File

@@ -182,6 +182,15 @@ jobs:
endpoint:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
endpoint:
- mycontext
- tcp://127.0.0.1:2375
env:
# only the explicit endpoint should provide access to a daemon.
DOCKER_HOST: unix:///tmp/nonexistent-docker.sock
services:
dind:
image: docker:29.3-dind@sha256:4d90f1f6c400315c2dba96d3ec93c01e64198395cbba04f79d12adce4f737029
@@ -209,11 +218,19 @@ jobs:
docker --context mycontext info
-
name: Set up Docker Buildx
id: buildx
uses: ./
with:
endpoint: mycontext
endpoint: ${{ matrix.endpoint }}
-
name: Build
env:
DOCKER_CONTEXT: mycontext
BUILDER: ${{ steps.buildx.outputs.name }}
run: |
docker buildx build --builder "$BUILDER" - <<'EOF'
FROM scratch
LABEL test=endpoint
EOF
buildkitd-config:
runs-on: ubuntu-latest

164
dist/index.cjs generated vendored

File diff suppressed because one or more lines are too long

6
dist/index.cjs.map generated vendored

File diff suppressed because one or more lines are too long

2
dist/licenses.txt generated vendored
View File

@@ -3217,7 +3217,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
The following npm packages may be included in this product:
- brace-expansion@1.1.18
- brace-expansion@1.1.21
- brace-expansion@2.0.1
These packages each contain the following license:

View File

@@ -133,11 +133,13 @@ actionsToolkit.run(
if (!standalone && inputs.driver == 'docker-container') {
const buildkitImages = new Set<string>();
if (!builderExists) {
if (!builderExists && !inputs.endpoint) {
buildkitImages.add(resolveBuildKitImage(inputs.driverOpts));
}
for (const node of appendNodes) {
buildkitImages.add(resolveBuildKitImage(node['driver-opts']));
if (!node.endpoint) {
buildkitImages.add(resolveBuildKitImage(node['driver-opts']));
}
}
if (buildkitImages.size > 0) {
await core.group(`Pulling BuildKit image(s)`, async () => {

View File

@@ -2443,12 +2443,12 @@ __metadata:
linkType: hard
"brace-expansion@npm:^1.1.7":
version: 1.1.18
resolution: "brace-expansion@npm:1.1.18"
version: 1.1.21
resolution: "brace-expansion@npm:1.1.21"
dependencies:
balanced-match: "npm:^1.0.0"
concat-map: "npm:0.0.1"
checksum: 10/b55a3c03239b8d2127c7cbb3408c9ad3a556a8c303bf3064df78bfb7c093160fc8f6e0a32e42a850a78eba12f29ccf6ef997690b9acf945d242c56c61c4aa977
checksum: 10/6c0ed34107cb3bd3f44c01d90ec8c01baa3ed75b7755617e2e5797b5908bbf20b313edf575612b200a783b84c7d1826aec2f7a2f03de9905bbfae5dc3dea6a95
languageName: node
linkType: hard