From 4ac2aa734c9c8b9bd8a56f150847e3706ba473ba Mon Sep 17 00:00:00 2001 From: Ward Poelmans Date: Tue, 3 Sep 2024 16:25:03 +0200 Subject: [PATCH] Update gh workflow: avoid deprecated actions --- .github/workflows/build-publish-container.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-publish-container.yml b/.github/workflows/build-publish-container.yml index 7b28d9aacf..0d2e168bc8 100644 --- a/.github/workflows/build-publish-container.yml +++ b/.github/workflows/build-publish-container.yml @@ -16,14 +16,14 @@ jobs: contents: read steps: - name: Check out the repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set the image date tag run: | echo IMAGE_TAG=$(date +"%Y%m%d") >> $GITHUB_ENV - name: Build Image - uses: redhat-actions/buildah-build@v2.12 + uses: redhat-actions/buildah-build@v2 id: build-image with: image: quattor-test-container @@ -34,7 +34,7 @@ jobs: - name: Publish image on ghcr.io id: push-to-ghcr if: github.event_name == 'push' && github.ref_name == 'master' - uses: redhat-actions/push-to-registry@v2.7 + uses: redhat-actions/push-to-registry@v2 with: image: ${{ steps.build-image.outputs.image }} tags: ${{ steps.build-image.outputs.tags }}