This commit is contained in:
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@@ -8,16 +8,13 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: gcr.io/kaniko-project/executor:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
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
|
- name: Build and Push Docker Image
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user