Skip to content

Commit

Permalink
Merge pull request #353 from wpoely86/depre
Browse files Browse the repository at this point in the history
Update gh workflow: avoid deprecated actions
  • Loading branch information
jrha authored Sep 3, 2024
2 parents 9805b85 + 4ac2aa7 commit 1e5f7fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-publish-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit 1e5f7fe

Please sign in to comment.