This commit is contained in:
Tejal Desai 2021-02-16 15:58:54 -08:00 committed by GitHub
parent 09cac63b7b
commit b3223cc8f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 2 deletions

View File

@ -10,6 +10,7 @@ jobs:
env:
GITHUB_SHA: ${{ github.sha }}
GITHUB_REF: ${{ github.ref }}
TAG: ${{ github.event.release.tag_name }}
PLATFORMS: "linux/amd64,linux/arm64,linux/ppc64le"
runs-on: ubuntu-latest
steps:
@ -56,6 +57,7 @@ jobs:
push: true
tags: |
gcr.io/kaniko-project/executor:${{ env.GITHUB_SHA }}-slim
gcr.io/kaniko-project/executor:${{ env.TAG }}-slim
- uses: docker/build-push-action@v2
with:
@ -65,6 +67,7 @@ jobs:
push: true
tags: |
gcr.io/kaniko-project/executor:${{ env.GITHUB_SHA }}
gcr.io/kaniko-project/executor:${{ env.TAG }}
build-debug:
env:
@ -115,7 +118,8 @@ jobs:
platforms: linux/amd64,linux/arm64,linux/ppc64le
push: true
tags: |
gcr.io/kaniko-project/executor:${{ env.GITHUB_SHA }}
gcr.io/kaniko-project/executor:${{ env.GITHUB_SHA }}-debug
gcr.io/kaniko-project/executor:${{ env.TAG }}-debug
build-warmer:
env:
@ -165,4 +169,5 @@ jobs:
platforms: linux/amd64,linux/arm64,linux/ppc64le
push: true
tags: |
gcr.io/kaniko-project/warmer:${{ env.GITHUB_SHA }}
gcr.io/kaniko-project/warmer:${{ env.GITHUB_SHA }}
gcr.io/kaniko-project/warmer:${{ env.TAG }}