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