diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a40d515..415a335 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,16 +8,12 @@ on: jobs: build-and-push: - runs-on: ubuntu-latest + runs-on: ubuntu-latest + container: gcr.io/kaniko-project/executor 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.21.1/kaniko-v1.21.1.tar.gz | tar xz -C /kaniko && \ - chmod +x /kaniko/executor + - name: Build and Push Docker Image run: |