mirror of
https://github.com/docker/setup-buildx-action.git
synced 2025-04-02 06:20:08 +02:00
moby
image: add docker.io container registry
In docker, the container registry is supposed to be `docker.io`, but it can be others or even be undefined in other container runtimes (e.g. podman). Signed-off-by: Frank Villaro-Dixon <frank@villaro-dixon.eu>
This commit is contained in:
parent
d70bba72b1
commit
d15b70fa95
3 changed files with 12 additions and 12 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
@ -156,9 +156,9 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
driver-opts:
|
driver-opts:
|
||||||
- image=moby/buildkit:latest
|
- image=docker.io/moby/buildkit:latest
|
||||||
- |
|
- |
|
||||||
image=moby/buildkit:master
|
image=docker.io/moby/buildkit:master
|
||||||
network=host
|
network=host
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
|
@ -456,7 +456,7 @@ jobs:
|
||||||
endpoint: ctxbuilder2
|
endpoint: ctxbuilder2
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
driver-opts:
|
driver-opts:
|
||||||
- image=moby/buildkit:master
|
- image=docker.io/moby/buildkit:master
|
||||||
- network=host
|
- network=host
|
||||||
- endpoint: ctxbuilder3
|
- endpoint: ctxbuilder3
|
||||||
platforms: linux/arm64
|
platforms: linux/arm64
|
||||||
|
@ -540,16 +540,16 @@ jobs:
|
||||||
driver: kubernetes
|
driver: kubernetes
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
driver-opts: |
|
driver-opts: |
|
||||||
image=moby/buildkit:buildx-stable-1
|
image=docker.io/moby/buildkit:buildx-stable-1
|
||||||
qemu.install=true
|
qemu.install=true
|
||||||
append: |
|
append: |
|
||||||
- platforms: linux/arm64
|
- platforms: linux/arm64
|
||||||
driver-opts:
|
driver-opts:
|
||||||
- image=moby/buildkit:buildx-stable-1
|
- image=docker.io/moby/buildkit:buildx-stable-1
|
||||||
- qemu.install=true
|
- qemu.install=true
|
||||||
- platforms: linux/s390x
|
- platforms: linux/s390x
|
||||||
driver-opts:
|
driver-opts:
|
||||||
- image=moby/buildkit:buildx-stable-1
|
- image=docker.io/moby/buildkit:buildx-stable-1
|
||||||
- qemu.install=true
|
- qemu.install=true
|
||||||
-
|
-
|
||||||
name: Create Dockerfile
|
name: Create Dockerfile
|
||||||
|
|
|
@ -76,7 +76,7 @@ The following inputs can be used as `step.with` keys:
|
||||||
> `List` type is a newline-delimited string
|
> `List` type is a newline-delimited string
|
||||||
> ```yaml
|
> ```yaml
|
||||||
> driver-opts: |
|
> driver-opts: |
|
||||||
> image=moby/buildkit:master
|
> image=docker.io/moby/buildkit:master
|
||||||
> network=host
|
> network=host
|
||||||
> ```
|
> ```
|
||||||
|
|
||||||
|
@ -133,7 +133,7 @@ The following [official docker environment variables](https://docs.docker.com/en
|
||||||
"endpoint": "unix:///var/run/docker.sock",
|
"endpoint": "unix:///var/run/docker.sock",
|
||||||
"driver-opts": [
|
"driver-opts": [
|
||||||
"network=host",
|
"network=host",
|
||||||
"image=moby/buildkit:master"
|
"image=docker.io/moby/buildkit:master"
|
||||||
],
|
],
|
||||||
"status": "running",
|
"status": "running",
|
||||||
"buildkitd-flags": "--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host",
|
"buildkitd-flags": "--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host",
|
||||||
|
|
|
@ -86,7 +86,7 @@ describe('getCreateArgs', () => {
|
||||||
new Map<string, string>([
|
new Map<string, string>([
|
||||||
['install', 'false'],
|
['install', 'false'],
|
||||||
['use', 'false'],
|
['use', 'false'],
|
||||||
['driver-opts', 'image=moby/buildkit:master\nnetwork=host'],
|
['driver-opts', 'image=docker.io/moby/buildkit:master\nnetwork=host'],
|
||||||
['cache-binary', 'true'],
|
['cache-binary', 'true'],
|
||||||
['cleanup', 'true'],
|
['cleanup', 'true'],
|
||||||
]),
|
]),
|
||||||
|
@ -94,7 +94,7 @@ describe('getCreateArgs', () => {
|
||||||
'create',
|
'create',
|
||||||
'--name', 'builder-9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d',
|
'--name', 'builder-9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d',
|
||||||
'--driver', 'docker-container',
|
'--driver', 'docker-container',
|
||||||
'--driver-opt', 'image=moby/buildkit:master',
|
'--driver-opt', 'image=docker.io/moby/buildkit:master',
|
||||||
'--driver-opt', 'network=host',
|
'--driver-opt', 'network=host',
|
||||||
'--buildkitd-flags', '--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host'
|
'--buildkitd-flags', '--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host'
|
||||||
]
|
]
|
||||||
|
@ -269,7 +269,7 @@ describe('getAppendArgs', () => {
|
||||||
"name": "aws_graviton2",
|
"name": "aws_graviton2",
|
||||||
"endpoint": "ssh://me@graviton2",
|
"endpoint": "ssh://me@graviton2",
|
||||||
"driver-opts": [
|
"driver-opts": [
|
||||||
"image=moby/buildkit:latest"
|
"image=docker.io/moby/buildkit:latest"
|
||||||
],
|
],
|
||||||
"buildkitd-flags": "--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host",
|
"buildkitd-flags": "--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host",
|
||||||
"platforms": "linux/arm64"
|
"platforms": "linux/arm64"
|
||||||
|
@ -279,7 +279,7 @@ describe('getAppendArgs', () => {
|
||||||
'--name', 'builder-9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d',
|
'--name', 'builder-9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d',
|
||||||
'--append',
|
'--append',
|
||||||
'--node', 'aws_graviton2',
|
'--node', 'aws_graviton2',
|
||||||
'--driver-opt', 'image=moby/buildkit:latest',
|
'--driver-opt', 'image=docker.io/moby/buildkit:latest',
|
||||||
'--buildkitd-flags', '--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host',
|
'--buildkitd-flags', '--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host',
|
||||||
'--platform', 'linux/arm64',
|
'--platform', 'linux/arm64',
|
||||||
'ssh://me@graviton2'
|
'ssh://me@graviton2'
|
||||||
|
|
Loading…
Add table
Reference in a new issue