ci: usar buildx
This commit is contained in:
parent
937f0f12f0
commit
867f1c4b33
1 changed files with 9 additions and 6 deletions
|
@ -1,11 +1,14 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
build-image:
|
build-image:
|
||||||
image: r.j3ss.co/img:latest
|
image: docker.io/woodpeckerci/plugin-docker-buildx
|
||||||
commands:
|
secrets: [docker_username, docker_password]
|
||||||
- echo $REGISTRY_SECRET | img login --username Nulo --password-stdin gitea.nulo.in
|
# commands:
|
||||||
- img build -t gitea.nulo.in/nulo/sitio-build:latest tooling/Containerfile
|
# - echo $REGISTRY_SECRET | img login --username Nulo --password-stdin gitea.nulo.in
|
||||||
- img push gitea.nulo.in/nulo/sitio-build:latest
|
# - img build -t gitea.nulo.in/nulo/sitio-build:latest tooling/Containerfile
|
||||||
secrets: [REGISTRY_SECRET]
|
# - img push gitea.nulo.in/nulo/sitio-build:latest
|
||||||
|
settings:
|
||||||
|
repo: gitea.nulo.in/nulo/sitio-build
|
||||||
|
dockerfile: tooling/Containerfile
|
||||||
when:
|
when:
|
||||||
path:
|
path:
|
||||||
include: ["tooling/*", ".woodpecker.yml"]
|
include: ["tooling/*", ".woodpecker.yml"]
|
||||||
|
|
Reference in a new issue