mirror of
https://github.com/docker/setup-buildx-action.git
synced 2026-10-17 20:13:05 +01:00
Compare commits
5 Commits
v4.4.0
...
dependabot
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
32f72bc6b7 | ||
|
|
b1ce1373d5 | ||
|
|
f87e5991a6 | ||
|
|
e7002743e0 | ||
|
|
3061c919c6 |
21
.github/workflows/ci.yml
vendored
21
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
184
dist/index.cjs
generated
vendored
184
dist/index.cjs
generated
vendored
File diff suppressed because one or more lines are too long
8
dist/index.cjs.map
generated
vendored
8
dist/index.cjs.map
generated
vendored
File diff suppressed because one or more lines are too long
2
dist/licenses.txt
generated
vendored
2
dist/licenses.txt
generated
vendored
@@ -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:
|
||||
|
||||
- handlebars@4.7.9
|
||||
- handlebars@4.7.10
|
||||
|
||||
This package contains the following license:
|
||||
|
||||
|
||||
@@ -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 () => {
|
||||
|
||||
10
yarn.lock
10
yarn.lock
@@ -3622,10 +3622,10 @@ __metadata:
|
||||
linkType: hard
|
||||
|
||||
"handlebars@npm:^4.7.9":
|
||||
version: 4.7.9
|
||||
resolution: "handlebars@npm:4.7.9"
|
||||
version: 4.7.10
|
||||
resolution: "handlebars@npm:4.7.10"
|
||||
dependencies:
|
||||
minimist: "npm:^1.2.5"
|
||||
minimist: "npm:^1.2.8"
|
||||
neo-async: "npm:^2.6.2"
|
||||
source-map: "npm:^0.6.1"
|
||||
uglify-js: "npm:^3.1.4"
|
||||
@@ -3635,7 +3635,7 @@ __metadata:
|
||||
optional: true
|
||||
bin:
|
||||
handlebars: bin/handlebars
|
||||
checksum: 10/e755433d652e8a15fc02f83d7478e652359e7a4d354c4328818853ed4f8a39d4a09e1d22dad3c7213c5240864a65b3c840970b8b181745575dd957dd258f2b8d
|
||||
checksum: 10/e7df9b9986594384de11ea27d2f9c694f90dca9ff768ac28851b4cf89f6268a3177ec50c9bb1601c8841f67bee25598b37bdcd53d1f7acd3744619f938ad1f53
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -4362,7 +4362,7 @@ __metadata:
|
||||
languageName: node
|
||||
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
|
||||
resolution: "minimist@npm:1.2.8"
|
||||
checksum: 10/908491b6cc15a6c440ba5b22780a0ba89b9810e1aea684e253e43c4e3b8d56ec1dcdd7ea96dde119c29df59c936cde16062159eae4225c691e19c70b432b6e6f
|
||||
|
||||
Reference in New Issue
Block a user