parent
024f28b7e1
commit
5ebf3f40b8
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue