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