ok bug fix

This commit is contained in:
Scott Hatlen
2025-10-09 00:45:37 -07:00
parent 4a6c9fa0cc
commit e01214e36b

View File

@@ -11,14 +11,14 @@ steps:
- name: build - name: build
image: gcr.io/kaniko-project/executor:debug image: gcr.io/kaniko-project/executor:debug
commands: commands:
- /kaniko/executor - echo "{\"auths\":{\"https://index.docker.io/v1/\":{\"auth\":\"$(echo -n $DOCKER_USERNAME:$DOCKER_PASSWORD | base64)\"}}}" > /kaniko/.docker/config.json
--context . - /kaniko/executor --context=dir:///woodpecker/src --dockerfile=Dockerfile --destination=scottyah/blog:latest --cache=true
--dockerfile Dockerfile
--destination scottyah/blog:latest
--cache=true
secrets: [docker_username, docker_password]
environment: environment:
DOCKER_CONFIG: /kaniko/.docker DOCKER_CONFIG: /kaniko/.docker
DOCKER_USERNAME:
from_secret: docker_username
DOCKER_PASSWORD:
from_secret: docker_password
# - name: build # - name: build
# image: docker:dind # image: docker:dind