This commit is contained in:
parent
9ae93d1da9
commit
a37832dafc
@ -12,8 +12,6 @@ steps:
|
|||||||
image: gcr.io/kaniko-project/executor:debug
|
image: gcr.io/kaniko-project/executor:debug
|
||||||
pull: always
|
pull: always
|
||||||
commands:
|
commands:
|
||||||
- |
|
|
||||||
export VALID_TAG=$(cat .version 2> /dev/null) && [ -n "$VALID_TAG" ] || (echo 'No release tag - exiting'; exit 0)
|
|
||||||
- |
|
- |
|
||||||
wget https://github.com/jqlang/jq/releases/download/jq-1.6/jq-linux64 -qO /bin/jq
|
wget https://github.com/jqlang/jq/releases/download/jq-1.6/jq-linux64 -qO /bin/jq
|
||||||
chmod +x /bin/jq
|
chmod +x /bin/jq
|
||||||
@ -23,7 +21,7 @@ steps:
|
|||||||
/kaniko/executor \
|
/kaniko/executor \
|
||||||
--dockerfile=Dockerfile \
|
--dockerfile=Dockerfile \
|
||||||
--context=dir://. \
|
--context=dir://. \
|
||||||
--destination=bv11-cr01.bessems.eu/library/pinniped-server:latest \
|
--destination=bv11-cr01.bessems.eu/library/pinniped-server:latest
|
||||||
environment:
|
environment:
|
||||||
HARBOR_USERNAME:
|
HARBOR_USERNAME:
|
||||||
from_secret: harbor_username
|
from_secret: harbor_username
|
||||||
|
Loading…
Reference in New Issue
Block a user