Compare commits

..

5 Commits

Author SHA1 Message Date
github-actions[bot]
32f72bc6b7 [dependabot skip] chore: update generated content 2026-10-17 11:01:07 +00:00
dependabot[bot]
b1ce1373d5 build(deps): bump handlebars from 4.7.9 to 4.7.10
Bumps [handlebars](https://github.com/handlebars-lang/handlebars.js) from 4.7.9 to 4.7.10.
- [Release notes](https://github.com/handlebars-lang/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/v4.7.10/release-notes.md)
- [Commits](https://github.com/handlebars-lang/handlebars.js/compare/v4.7.9...v4.7.10)

---
updated-dependencies:
- dependency-name: handlebars
  dependency-version: 4.7.10
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-17 11:00:13 +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 125 additions and 106 deletions

View File

@@ -182,6 +182,15 @@ jobs:
endpoint: endpoint:
runs-on: ubuntu-latest 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: services:
dind: dind:
image: docker:29.3-dind@sha256:4d90f1f6c400315c2dba96d3ec93c01e64198395cbba04f79d12adce4f737029 image: docker:29.3-dind@sha256:4d90f1f6c400315c2dba96d3ec93c01e64198395cbba04f79d12adce4f737029
@@ -209,11 +218,19 @@ jobs:
docker --context mycontext info docker --context mycontext info
- -
name: Set up Docker Buildx name: Set up Docker Buildx
id: buildx
uses: ./ uses: ./
with: with:
endpoint: mycontext endpoint: ${{ matrix.endpoint }}
-
name: Build
env: env:
DOCKER_CONTEXT: mycontext BUILDER: ${{ steps.buildx.outputs.name }}
run: |
docker buildx build --builder "$BUILDER" - <<'EOF'
FROM scratch
LABEL test=endpoint
EOF
buildkitd-config: buildkitd-config:
runs-on: ubuntu-latest runs-on: ubuntu-latest

184
dist/index.cjs generated vendored

File diff suppressed because one or more lines are too long

8
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

@@ -2656,7 +2656,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
The following npm package may be included in this product: The following npm package may be included in this product:
- handlebars@4.7.9 - handlebars@4.7.10
This package contains the following license: This package contains the following license:

View File

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

View File

@@ -3622,10 +3622,10 @@ __metadata:
linkType: hard linkType: hard
"handlebars@npm:^4.7.9": "handlebars@npm:^4.7.9":
version: 4.7.9 version: 4.7.10
resolution: "handlebars@npm:4.7.9" resolution: "handlebars@npm:4.7.10"
dependencies: dependencies:
minimist: "npm:^1.2.5" minimist: "npm:^1.2.8"
neo-async: "npm:^2.6.2" neo-async: "npm:^2.6.2"
source-map: "npm:^0.6.1" source-map: "npm:^0.6.1"
uglify-js: "npm:^3.1.4" uglify-js: "npm:^3.1.4"
@@ -3635,7 +3635,7 @@ __metadata:
optional: true optional: true
bin: bin:
handlebars: bin/handlebars handlebars: bin/handlebars
checksum: 10/e755433d652e8a15fc02f83d7478e652359e7a4d354c4328818853ed4f8a39d4a09e1d22dad3c7213c5240864a65b3c840970b8b181745575dd957dd258f2b8d checksum: 10/e7df9b9986594384de11ea27d2f9c694f90dca9ff768ac28851b4cf89f6268a3177ec50c9bb1601c8841f67bee25598b37bdcd53d1f7acd3744619f938ad1f53
languageName: node languageName: node
linkType: hard linkType: hard
@@ -4362,7 +4362,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"minimist@npm:^1.2.5, minimist@npm:^1.2.6": "minimist@npm:^1.2.6, minimist@npm:^1.2.8":
version: 1.2.8 version: 1.2.8
resolution: "minimist@npm:1.2.8" resolution: "minimist@npm:1.2.8"
checksum: 10/908491b6cc15a6c440ba5b22780a0ba89b9810e1aea684e253e43c4e3b8d56ec1dcdd7ea96dde119c29df59c936cde16062159eae4225c691e19c70b432b6e6f checksum: 10/908491b6cc15a6c440ba5b22780a0ba89b9810e1aea684e253e43c4e3b8d56ec1dcdd7ea96dde119c29df59c936cde16062159eae4225c691e19c70b432b6e6f