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