@@ -47,12 +47,11 @@ steps:
|
||||
# - /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
- name: build
|
||||
image: harbor.scottyah.com/kaniko-project/executor:debug
|
||||
image: gcr.io/kaniko-project/executor:debug
|
||||
commands:
|
||||
- docker build -t harbor.scottyah.com/scottyah/blog:latest .
|
||||
- docker push harbor.scottyah.com/scottyah/blog:latest
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /kaniko/executor --context=dir:///woodpecker/src --dockerfile=Dockerfile --destination=harbor.scottyah.com/scottyah/blog:latest --cache=true
|
||||
environment:
|
||||
DOCKER_CONFIG: /kaniko/.docker
|
||||
|
||||
- name: deploy
|
||||
image: kubernetes/client:latest
|
||||
|
||||
Reference in New Issue
Block a user