chore: add docker secret to env
This commit is contained in:
parent
c391ab0781
commit
9b2d86b882
1 changed files with 4 additions and 1 deletions
|
@ -19,6 +19,9 @@ runs:
|
||||||
runtime:
|
runtime:
|
||||||
containers:
|
containers:
|
||||||
- image: gcr.io/kaniko-project/executor:debug
|
- image: gcr.io/kaniko-project/executor:debug
|
||||||
|
environment:
|
||||||
|
DOCKERAUTH:
|
||||||
|
from_variable: dockerauth
|
||||||
shell: /busybox/sh
|
shell: /busybox/sh
|
||||||
steps:
|
steps:
|
||||||
- restore_workspace:
|
- restore_workspace:
|
||||||
|
@ -33,6 +36,6 @@ runs:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
- run: /kaniko/executor --destination code.icb4dc0.de/prskr/blog:latest
|
- run: /kaniko/executor --destination code.icb4dc0.de/prskr/blog:$AGOLA_GIT_COMMITSHA --context dir:///root/project/ --dockerfile /root/project/Dockerfile
|
||||||
depends:
|
depends:
|
||||||
- checkout code
|
- checkout code
|
||||||
|
|
Loading…
Reference in a new issue