This commit is contained in:
parent
58e2d6b50a
commit
af5f55e374
@ -73,7 +73,7 @@ local PipelineBuildContainer(arch='amd64') = {
|
|||||||
commands: [
|
commands: [
|
||||||
'docker login -u "$$DOCKER_USERNAME" -p "$$DOCKER_PASSWORD"',
|
'docker login -u "$$DOCKER_USERNAME" -p "$$DOCKER_PASSWORD"',
|
||||||
'docker buildx create --use',
|
'docker buildx create --use',
|
||||||
'docker buildx build --push --platform linux/' + std.strReplace(arch, '_', '/') + ' --tag thegeeklab/buildx-alpine:latest-' + std.split(arch, '_')[0] + ' .',
|
'docker buildx build --push --platform linux/' + std.strReplace(arch, '_', '/') + ' --tag thegeeklab/buildx-alpine:' + std.split(arch, '_')[0] + ' .',
|
||||||
],
|
],
|
||||||
environment: {
|
environment: {
|
||||||
DOCKER_PASSWORD: { from_secret: 'docker_password' },
|
DOCKER_PASSWORD: { from_secret: 'docker_password' },
|
||||||
|
@ -67,7 +67,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- docker login -u "$$DOCKER_USERNAME" -p "$$DOCKER_PASSWORD"
|
- docker login -u "$$DOCKER_USERNAME" -p "$$DOCKER_PASSWORD"
|
||||||
- docker buildx create --use
|
- docker buildx create --use
|
||||||
- docker buildx build --push --platform linux/amd64 --tag thegeeklab/buildx-alpine:latest-amd64 .
|
- docker buildx build --push --platform linux/amd64 --tag thegeeklab/buildx-alpine:amd64 .
|
||||||
environment:
|
environment:
|
||||||
DOCKER_PASSWORD:
|
DOCKER_PASSWORD:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
@ -153,7 +153,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- docker login -u "$$DOCKER_USERNAME" -p "$$DOCKER_PASSWORD"
|
- docker login -u "$$DOCKER_USERNAME" -p "$$DOCKER_PASSWORD"
|
||||||
- docker buildx create --use
|
- docker buildx create --use
|
||||||
- docker buildx build --push --platform linux/arm64/v8 --tag thegeeklab/buildx-alpine:latest-arm64 .
|
- docker buildx build --push --platform linux/arm64/v8 --tag thegeeklab/buildx-alpine:arm64 .
|
||||||
environment:
|
environment:
|
||||||
DOCKER_PASSWORD:
|
DOCKER_PASSWORD:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
@ -239,7 +239,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- docker login -u "$$DOCKER_USERNAME" -p "$$DOCKER_PASSWORD"
|
- docker login -u "$$DOCKER_USERNAME" -p "$$DOCKER_PASSWORD"
|
||||||
- docker buildx create --use
|
- docker buildx create --use
|
||||||
- docker buildx build --push --platform linux/arm/v7 --tag thegeeklab/buildx-alpine:latest-arm .
|
- docker buildx build --push --platform linux/arm/v7 --tag thegeeklab/buildx-alpine:arm .
|
||||||
environment:
|
environment:
|
||||||
DOCKER_PASSWORD:
|
DOCKER_PASSWORD:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
@ -349,6 +349,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: c62f6674c69502af0442907a8c84b281505900de4684cfe78cd868054c62a1b5
|
hmac: 76e555af40a68c0e75b0fcb3a67ec222aa8ac8034baf2787a753323fb4a0f58c
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user