From 1f3c47af2bd56eb5bc3eb0f387402005cadd1576 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Sat, 27 Jan 2024 21:48:51 +0100 Subject: [PATCH] fix: add necessary env args to CI build --- .woodpecker.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index e61dbc4..773ad03 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -18,6 +18,9 @@ steps: from_secret: codeberg_password repo: codeberg.org/keyoxide/keyoxide-web tags: latest + build_args_from_env: + - CI_COMMIT_SHA + - CI_COMMIT_BRANCH build-tag-container: when: @@ -32,6 +35,9 @@ steps: from_secret: codeberg_password repo: codeberg.org/keyoxide/keyoxide-web auto_tag: true + build_args_from_env: + - CI_COMMIT_SHA + - CI_COMMIT_BRANCH build-dev-container: when: @@ -45,4 +51,7 @@ steps: password: from_secret: codeberg_password repo: codeberg.org/keyoxide/keyoxide-web - tags: dev \ No newline at end of file + tags: dev + build_args_from_env: + - CI_COMMIT_SHA + - CI_COMMIT_BRANCH \ No newline at end of file