Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
June | 5ebf3f40b8 |
|
@ -25,14 +25,27 @@ steps:
|
||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- mkdir /woodpecker/images
|
- 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
|
- name: build-image
|
||||||
image: gcr.io/kaniko-project/executor
|
image: gcr.io/kaniko-project/executor
|
||||||
|
environment:
|
||||||
|
MY_COOL_TEST_VAR: 25.0
|
||||||
entrypoint:
|
entrypoint:
|
||||||
- /kaniko/executor
|
- /kaniko/executor
|
||||||
- --context=dir:///woodpecker/src/keycloak
|
- --context=dir:///woodpecker/src/keycloak
|
||||||
- --dockerfile=./Containerfile
|
- --dockerfile=./Containerfile
|
||||||
- --build-arg=TAG=${KEYCLOAK_VERSION}
|
- --build-arg=TAG=$${MY_COOL_TEST_VAR}
|
||||||
- --destination=${IMAGE_NAME}:${KEYCLOAK_VERSION}
|
- --destination=${IMAGE_NAME}:$${MY_COOL_TEST_VAR}
|
||||||
- --no-push
|
- --no-push
|
||||||
- --tar-path=/woodpecker/images/keycloak.tar
|
- --tar-path=/woodpecker/images/keycloak.tar
|
||||||
- name: publish-image
|
- name: publish-image
|
||||||
|
|
Loading…
Reference in a new issue