use correct action for push

This commit is contained in:
Benedikt Wagener committed 2025-01-31 15:27:42 +01:00
1 parent f27bdd1219
commit c073cdfbeb
1 file changed
+3 -7
+3 -7
View File
@@ -16,11 +16,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
# Checkout push-to-registry action github repository
- name: Checkout Push to Registry action
uses: actions/checkout@v4
# Build image using Buildah action
# Build image using Buildah action https://github.com/redhat-actions/buildah-build
- name: Build Image
id: build_image
uses: redhat-actions/buildah-build@v2
@@ -33,8 +29,8 @@ jobs:
layers: true
# Push the image to GHCR (Image Registry)
- name: Push To GHCR
uses: ./
- name: Push To Registry
uses: redhat-actions/push-to-registry@v2
id: push
with:
image: ${{ steps.build_image.outputs.image }}