From 43ea0ff94599d4dad1249daaf1be0f8562815d11 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 14 Feb 2023 20:18:43 +0100 Subject: [PATCH] refactor --- .gitea/workflows/image.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/image.yml b/.gitea/workflows/image.yml index bb9889b..7d9c70e 100644 --- a/.gitea/workflows/image.yml +++ b/.gitea/workflows/image.yml @@ -1,14 +1,18 @@ pipeline: - build: + - name: Build Botanique image image: woodpeckerci/plugin-docker-buildx - when: - branch: main - event: [push] settings: + registry: git.mylloon.fr + repo: git.mylloon.fr/${CI_REPO,,} platforms: linux/amd64 - registry: https://git.mylloon.fr - username: ${CI_REPO_OWNER} + tag: latest + username: Anri password: abc123 insecure: true - repo: git.mylloon.fr/${CI_REPO,,} - tag: "latest" + # username: + # from_secret: docker_username + # password: + # from_secret: docker_password + when: + - event: push + branch: main