From f06db24fb490fac1f6e65b73ecaa2e5a04faa1a0 Mon Sep 17 00:00:00 2001 From: Nulo Date: Fri, 10 Mar 2023 16:53:37 -0300 Subject: [PATCH] ci: usar buildx --- .woodpecker.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index e1d4baa..f3f58ce 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,11 +1,14 @@ pipeline: build-image: - image: r.j3ss.co/img:latest - commands: - - echo $REGISTRY_SECRET | img login --username Nulo --password-stdin gitea.nulo.in - - img build -t gitea.nulo.in/nulo/sitio-build:latest tooling/Containerfile - - img push gitea.nulo.in/nulo/sitio-build:latest - secrets: [REGISTRY_SECRET] + image: docker.io/woodpeckerci/plugin-docker-buildx + secrets: [docker_username, docker_password] + # commands: + # - echo $REGISTRY_SECRET | img login --username Nulo --password-stdin gitea.nulo.in + # - img build -t gitea.nulo.in/nulo/sitio-build:latest tooling/Containerfile + # - img push gitea.nulo.in/nulo/sitio-build:latest + settings: + repo: gitea.nulo.in/nulo/sitio-build + dockerfile: tooling/Containerfile when: path: include: ["tooling/*", ".woodpecker.yml"]