This commit is contained in:
@@ -4,11 +4,17 @@ when:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: gcr.io/kaniko-project/executor:debug
|
image: woodpeckerci/plugin-kaniko
|
||||||
commands:
|
settings:
|
||||||
- /kaniko/executor --context=dir:///woodpecker/src --dockerfile=Dockerfile --destination=harbor.scottyah.com/scottyah/blog:latest --cache=true --skip-tls-verify
|
registry: harbor.scottyah.com
|
||||||
environment:
|
repo: harbor.scottyah.com/scottyah/blog
|
||||||
DOCKER_CONFIG: /root/.docker
|
tags: latest
|
||||||
|
cache: true
|
||||||
|
skip_tls_verify: true
|
||||||
|
username:
|
||||||
|
from_secret: harbor_username
|
||||||
|
password:
|
||||||
|
from_secret: harbor_password
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: bitnami/kubectl:latest
|
image: bitnami/kubectl:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user