diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 06ed6d2..9bfe194 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,16 +8,13 @@ on: jobs: build-and-push: - runs-on: ubuntu-latest + runs-on: ubuntu-latest + container: + image: gcr.io/kaniko-project/executor:latest + steps: - name: Checkout repository uses: actions/checkout@v2 - - - name: Install Kaniko - run: | - mkdir -p /kaniko && \ - curl -L https://github.com/GoogleContainerTools/kaniko/releases/download/v1.6.0/kaniko-v1.6.0.tar.gz | tar xz -C /kaniko && \ - chmod +x /kaniko/executor - name: Build and Push Docker Image run: |