Skip to content
Discussion options

You must be logged in to vote

@anitabee, @jonwest thanks for the insight. I was able to get it to work. Posting it here for the sake of others

# build-with-kaniko.yml

name: Build with kaniko
on:
  push:
    branches: [ "*" ]
    paths:
      - "app/**"
      - ".github/workflows/build-with-kaniko.yml"
      
  workflow_dispatch:

env:
  KANIKO_CACHE_ARGS: "--cache=true --cache-copy-layers=true --cache-ttl=24h"

jobs:

  build-to-acr:
    runs-on: arc-runner-set 
    container:
      image: gcr.io/kaniko-project/executor:v1.20.0-debug # the kaniko image
    permissions:
      contents: read # read the repository

    steps:
      - name: Build and Push Image to ACR with kaniko
        run: |
          cat <<EOF > /kan…

Replies: 6 comments 13 replies

Comment options

You must be logged in to vote
1 reply
@Rollson
Comment options

Comment options

You must be logged in to vote
9 replies
@jonwest
Comment options

@Rollson
Comment options

Answer selected by Rollson
@mazzy89
Comment options

@Rollson
Comment options

@jonathan-fileread
Comment options

@Rollson
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@shankarRaman
Comment options

Comment options

You must be logged in to vote
1 reply
@shankarRaman
Comment options

Comment options

You must be logged in to vote
1 reply
@shankarRaman
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
FAQs
Labels
question Further information is requested gha-runner-scale-set Related to the gha-runner-scale-set mode Runner Configuration Discussions on Runner Configuration Container Runtimes Kubernetes
9 participants