ci(container): tweak options
This commit is contained in:
parent
f98aa11a3a
commit
05d8de0671
1 changed files with 1 additions and 1 deletions
2
.github/workflows/container.yaml
vendored
2
.github/workflows/container.yaml
vendored
|
@ -53,7 +53,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
containerfiles: ./Containerfile
|
containerfiles: ./Containerfile
|
||||||
image: my-new-image
|
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
labels: ${{ steps.metadata.outputs.labels }}
|
labels: ${{ steps.metadata.outputs.labels }}
|
||||||
tags: ${{ steps.metadata.outputs.tags }}
|
tags: ${{ steps.metadata.outputs.tags }}
|
||||||
|
@ -61,6 +60,7 @@ jobs:
|
||||||
|
|
||||||
- name: Push to GitHub Container Registry
|
- name: Push to GitHub Container Registry
|
||||||
uses: redhat-actions/push-to-registry@v2
|
uses: redhat-actions/push-to-registry@v2
|
||||||
|
if: "github.event_name != 'pull_request'"
|
||||||
with:
|
with:
|
||||||
image: ${{ steps.build.outputs.image }}
|
image: ${{ steps.build.outputs.image }}
|
||||||
tags: ${{ steps.build.outputs.tags }}
|
tags: ${{ steps.build.outputs.tags }}
|
||||||
|
|
Loading…
Reference in a new issue