diff --git a/.woodpecker.yml b/.woodpecker.yml index 459963a..20e2baf 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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