Skip to content

Commit

Permalink
Update redhat container actions
Browse files Browse the repository at this point in the history
push-to-registry does not release tags yet, but only build phase change is enough for updating runner I think

And I specify their non major versions kachick/times_kachick#270
  • Loading branch information
kachick committed Mar 6, 2024
1 parent 8044f54 commit 0ac923a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/push-cr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
ghcr:
runs-on: ubuntu-20.04 # Redhat recommends 20.04, they do not update to 22.04 yet
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
Expand All @@ -28,7 +28,7 @@ jobs:
]
- name: Build Image
id: build-image
uses: redhat-actions/buildah-build@v2
uses: redhat-actions/buildah-build@v2.13
with:
image: home
tags: latest ${{ github.sha }}
Expand All @@ -37,7 +37,7 @@ jobs:
oci: true
- name: Push To ghcr.io
id: push-to-ghcr
uses: redhat-actions/push-to-registry@v2
uses: redhat-actions/push-to-registry@v2.7.1
with:
image: ${{ steps.build-image.outputs.image }}
tags: ${{ steps.build-image.outputs.tags }}
Expand Down

0 comments on commit 0ac923a

Please sign in to comment.