Skip to content

Commit

Permalink
updated Kaniko pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
jfmontufar committed Nov 19, 2024
1 parent 1a66a68 commit ae29fd3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- kaniko

jobs:
docker:
kaniko:
runs-on: ubuntu-latest
environment: Docker Image
steps:
Expand All @@ -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
Expand Down

0 comments on commit ae29fd3

Please sign in to comment.