Update .forgejo/workflows/build.yml

This commit is contained in:
Seraphim Strub 2025-03-21 23:50:45 +00:00
parent bc79cc8791
commit d7f8271b5a

View file

@ -105,7 +105,7 @@ jobs:
# You can enable it by uncommenting the following lines: # You can enable it by uncommenting the following lines:
- name: Run Rechunker - name: Run Rechunker
id: rechunk id: rechunk
uses: hhd-dev/rechunk@f153348d8100c1f504dec435460a0d7baf11a9d2 # v1.1.1 uses: https://github.com/hhd-dev/rechunk@f153348d8100c1f504dec435460a0d7baf11a9d2 # v1.1.1
with: with:
rechunk: 'ghcr.io/hhd-dev/rechunk:v1.0.1' rechunk: 'ghcr.io/hhd-dev/rechunk:v1.0.1'
ref: "localhost/${{ env.IMAGE_NAME }}:${{ env.DEFAULT_TAG }}" ref: "localhost/${{ env.IMAGE_NAME }}:${{ env.DEFAULT_TAG }}"
@ -136,7 +136,7 @@ jobs:
- name: Log in to the Container registry - name: Log in to the Container registry
run: | run: |
echo "${{ secrets.GITHUB_TOKEN }}" | sudo podman login rievo.dev -u ${{ github.actor }} --password-stdin echo "${{ secrets.GITHUB_TOKEN }}" | sudo podman login rievo.dev -u ${{ github.actor }} --password-stdin
podman push "${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:latest" podman push "${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.DEFAULT_TAG }}"
# Workaround bug where capital letters in your GitHub username make it impossible to push to GHCR. # Workaround bug where capital letters in your GitHub username make it impossible to push to GHCR.
# https://github.com/macbre/push-to-ghcr/issues/12 # https://github.com/macbre/push-to-ghcr/issues/12