From 5ebf3f40b8817e78e6d565593ad4b35a4c5ec358 Mon Sep 17 00:00:00 2001 From: Julian Schacher Date: Sat, 27 Jul 2024 19:08:50 +0200 Subject: [PATCH] testing --- .woodpecker/keycloak.yaml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.woodpecker/keycloak.yaml b/.woodpecker/keycloak.yaml index 01f54ed..eb11f8c 100644 --- a/.woodpecker/keycloak.yaml +++ b/.woodpecker/keycloak.yaml @@ -25,14 +25,27 @@ steps: image: alpine commands: - mkdir /woodpecker/images + - name: test + image: debian + commands: + - echo "miau" > test + - name: test-2 + image: debian + environment: + MY_COOL_TEST_VAR: test + entrypoint: + - /usr/bin/cat + - $${MY_COOL_TEST_VAR}" - name: build-image image: gcr.io/kaniko-project/executor + environment: + MY_COOL_TEST_VAR: 25.0 entrypoint: - /kaniko/executor - --context=dir:///woodpecker/src/keycloak - --dockerfile=./Containerfile - - --build-arg=TAG=${KEYCLOAK_VERSION} - - --destination=${IMAGE_NAME}:${KEYCLOAK_VERSION} + - --build-arg=TAG=$${MY_COOL_TEST_VAR} + - --destination=${IMAGE_NAME}:$${MY_COOL_TEST_VAR} - --no-push - --tar-path=/woodpecker/images/keycloak.tar - name: publish-image