From be1344e9e52c9461f993f726b788bab0d7345795 Mon Sep 17 00:00:00 2001 From: Carl Tibule Date: Mon, 1 Apr 2024 22:35:48 -0500 Subject: [PATCH] Add buildargs to web docker build --- .woodpecker/.api_uploadimage.yaml | 2 +- .woodpecker/.web_uploadimage.yaml | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.woodpecker/.api_uploadimage.yaml b/.woodpecker/.api_uploadimage.yaml index 661bc6a..f41d1da 100644 --- a/.woodpecker/.api_uploadimage.yaml +++ b/.woodpecker/.api_uploadimage.yaml @@ -17,7 +17,7 @@ steps: - rm tags.txt - echo ${CI_COMMIT_TAG} | sed -e "s/^API-//" >> tags.txt - echo "latest" - - name: (YABA.API) Build and Upload Docker Image + - name: (YABA.API) Package and Upload Docker Image image: woodpeckerci/plugin-docker-buildx settings: repo: gitea.iwanaga.moe/cjtibule/yaba/api diff --git a/.woodpecker/.web_uploadimage.yaml b/.woodpecker/.web_uploadimage.yaml index 3291a4b..49b978c 100644 --- a/.woodpecker/.web_uploadimage.yaml +++ b/.woodpecker/.web_uploadimage.yaml @@ -18,15 +18,17 @@ steps: - rm tags.txt - echo ${CI_COMMIT_TAG} | sed -e "s/^WEB-//" >> tags.txt - echo "latest" - - name: (YABA.Web) Deploy Docker Image + - name: (YABA.Web) Package and Upload Docker Image image: woodpeckerci/plugin-docker-buildx settings: repo: gitea.iwanaga.moe/cjtibule/yaba/web context: ./Web dockerfile: ./Web/Dockerfile tags_file: tags.txt + secrets: [ DEV1_BUILDARGS ] username: from_secret: gitea_yaba_registry_username password: from_secret: gitea_yaba_registry_password - registry: gitea.iwanaga.moe \ No newline at end of file + registry: gitea.iwanaga.moe + build_args_from_env: [ DEV1_BUILDARGS ] \ No newline at end of file