Remove image
property from Container build & push actions
This commit is contained in:
parent
c5e880628a
commit
3f89a94df2
5
.github/workflows/pull_requests.yml
vendored
5
.github/workflows/pull_requests.yml
vendored
@ -5,10 +5,6 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
types: [synchronize, opened, reopened]
|
types: [synchronize, opened, reopened]
|
||||||
|
|
||||||
env:
|
|
||||||
REGISTRY: ghcr.io
|
|
||||||
IMAGE_NAME: ${{ github.repository }}
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
main:
|
main:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -42,7 +38,6 @@ jobs:
|
|||||||
id: build-image
|
id: build-image
|
||||||
uses: redhat-actions/buildah-build@v2
|
uses: redhat-actions/buildah-build@v2
|
||||||
with:
|
with:
|
||||||
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
|
||||||
containerfiles: ./Dockerfile
|
containerfiles: ./Dockerfile
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
oci: true
|
oci: true
|
||||||
|
2
.github/workflows/releases.yml
vendored
2
.github/workflows/releases.yml
vendored
@ -60,7 +60,6 @@ jobs:
|
|||||||
id: build-image
|
id: build-image
|
||||||
uses: redhat-actions/buildah-build@v2
|
uses: redhat-actions/buildah-build@v2
|
||||||
with:
|
with:
|
||||||
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
|
||||||
tags: ${{ steps.image-metadata.outputs.tags }}
|
tags: ${{ steps.image-metadata.outputs.tags }}
|
||||||
labels: ${{ steps.image-metadata.outputs.labels }}
|
labels: ${{ steps.image-metadata.outputs.labels }}
|
||||||
containerfiles: ./Dockerfile
|
containerfiles: ./Dockerfile
|
||||||
@ -90,7 +89,6 @@ jobs:
|
|||||||
- name: Publish to GHCR
|
- name: Publish to GHCR
|
||||||
uses: redhat-actions/push-to-registry@v2
|
uses: redhat-actions/push-to-registry@v2
|
||||||
with:
|
with:
|
||||||
image: ${{ steps.build-image.outputs.image }}
|
|
||||||
tags: ${{ steps.build-image.outputs.tags }}
|
tags: ${{ steps.build-image.outputs.tags }}
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY }}
|
||||||
username: ${{ env.REGISTRY_USER }}
|
username: ${{ env.REGISTRY_USER }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user