diff --git a/.github/workflows/k8s_traefik_init_setup.yml b/.github/workflows/k8s_traefik_init_setup.yml index 24cbc8f..5a9b69a 100644 --- a/.github/workflows/k8s_traefik_init_setup.yml +++ b/.github/workflows/k8s_traefik_init_setup.yml @@ -42,15 +42,15 @@ jobs: # Build & Push Image with Kaniko (ARC-compatible) # ----------------------------------------------------- - name: Build and Push Traefik Image (Kaniko) - uses: int128/kaniko-action@v1 + uses: docker://gcr.io/kaniko-project/executor:latest + env: + DOCKER_CONFIG: /kaniko/.docker/ with: - registry: docker.io - username: ${{ secrets.DOCKER_HUB_USERNAME }} - password: ${{ secrets.DOCKER_HUB_TOKEN }} - image: kimjunte/edge_router - tag: ${{ github.sha }},latest - path: traefik - dockerfile: traefik/Dockerfile + args: > + --context ${GITHUB_WORKSPACE}/traefik + --dockerfile ${GITHUB_WORKSPACE}/traefik/Dockerfile + --destination=docker.io/kimjunte/edge_router:${{ github.sha }} + --destination=docker.io/kimjunte/edge_router:latest # ----------------------------------------------------- # Apply Storage Classes + PVCs