Remove `image` property from Container build & push actions

This commit is contained in:
Ashleigh Carr 2024-02-12 09:49:44 +00:00
parent c5e880628a
commit 3f89a94df2
2 changed files with 0 additions and 7 deletions

View File

@ -5,10 +5,6 @@ on:
pull_request:
types: [synchronize, opened, reopened]
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
main:
runs-on: ubuntu-latest
@ -42,7 +38,6 @@ jobs:
id: build-image
uses: redhat-actions/buildah-build@v2
with:
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
containerfiles: ./Dockerfile
platforms: linux/amd64
oci: true

View File

@ -60,7 +60,6 @@ jobs:
id: build-image
uses: redhat-actions/buildah-build@v2
with:
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: ${{ steps.image-metadata.outputs.tags }}
labels: ${{ steps.image-metadata.outputs.labels }}
containerfiles: ./Dockerfile
@ -90,7 +89,6 @@ jobs:
- name: Publish to GHCR
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build-image.outputs.image }}
tags: ${{ steps.build-image.outputs.tags }}
registry: ${{ env.REGISTRY }}
username: ${{ env.REGISTRY_USER }}