From ae29fd3a9279667855b2b5107097fada9e1d47ff Mon Sep 17 00:00:00 2001 From: Juan Fernando Montufar Date: Tue, 19 Nov 2024 12:37:06 -0600 Subject: [PATCH] updated Kaniko pipeline --- .github/workflows/docker-image.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index e654487..454e476 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -6,7 +6,7 @@ on: - kaniko jobs: - docker: + kaniko: runs-on: ubuntu-latest environment: Docker Image steps: @@ -25,6 +25,7 @@ jobs: DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} DOCKER_REGISTRY: ${{ secrets.DOCKER_REGISTRY }} run: | + mkdir -p /kaniko/.docker echo "{\"auths\":{\"$DOCKER_REGISTRY\":{\"username\":\"$DOCKER_USERNAME\",\"password\":\"$DOCKER_PASSWORD\"}}}" > /kaniko/.docker/config.json # Download Kaniko executor