Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
5ebf3f40b8 |
1 changed files with 15 additions and 2 deletions
|
@ -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