Fix Release and Server actions (#2158)

Github CI don't support shortened commit SHA
This commit is contained in:
Vítor Vasconcellos 2024-03-02 00:58:38 -03:00 committed by GitHub
parent cd43d24ec2
commit 38a2470428
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -150,7 +150,7 @@ jobs:
- name: Create Release
# TODO: Change to stable version when available
uses: softprops/action-gh-release@4634c16
uses: softprops/action-gh-release@4634c16e79c963813287e889244c50009e7f0981
with:
draft: true
files: '*/**'

View file

@ -55,7 +55,7 @@ jobs:
- name: Build image
id: build-image
# TODO: Change to stable version when available
uses: redhat-actions/buildah-build@c79846f
uses: redhat-actions/buildah-build@c79846fb306beeba490e89fb75d2d1af95831e79
with:
tags: ${{ steps.image_info.outputs.tag }} ${{ github.event_name == 'release' && 'latest' || 'staging' }}
archs: amd64
@ -71,7 +71,7 @@ jobs:
- name: Push image to ghcr.io
# TODO: Restore redhat-actions/push-to-registry after PR is merged:
# https://github.com/redhat-actions/push-to-registry/pull/93
uses: Eusebiotrigo/push-to-registry@5acfa47
uses: Eusebiotrigo/push-to-registry@5acfa470857b62a053884f7214581d55ffeb54ac
with:
tags: ${{ steps.build-image.outputs.tags }}
image: ${{ steps.build-image.outputs.image }}