ci(container): tweak options

This commit is contained in:
Matthew Penner 2023-02-23 13:47:39 -07:00
parent f98aa11a3a
commit 05d8de0671
No known key found for this signature in database

View file

@ -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 }}