Update .forgejo/workflows/build.yml

This commit is contained in:
Seraphim Strub 2025-03-22 00:18:14 +00:00
parent 4d875f7019
commit 937d5be728

View file

@ -136,6 +136,7 @@ jobs:
- name: Log in to the Container registry and push - name: Log in to the Container registry and push
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 tag "${{ env.IMAGE_NAME }}:latest" "${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:latest"
podman push "${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:latest" podman push "${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:latest"
# 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.