diff --git a/.github/workflows/pull_requests.yml b/.github/workflows/pull_requests.yml index 5d2b7e40..af1c6422 100644 --- a/.github/workflows/pull_requests.yml +++ b/.github/workflows/pull_requests.yml @@ -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 diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index c5433742..421cb5cd 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -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 }}