Update .forgejo/workflows/build.yml

This commit is contained in:
Seraphim Strub 2025-03-21 23:20:22 +00:00
parent ad932eccf1
commit 9ad72dd0ca

View file

@ -135,19 +135,19 @@ jobs:
# workaround for https://github.com/redhat-actions/podman-login/issues/42 since the docker config from the host doesn't come up to the container # workaround for https://github.com/redhat-actions/podman-login/issues/42 since the docker config from the host doesn't come up to the container
- name: Workaround open podman-login action issue # - name: Workaround open podman-login action issue
env: # env:
auth: "{ \"auths\": {} }" # auth: "{ \"auths\": {} }"
run: | # run: |
mkdir -p $HOME/.docker # mkdir -p $HOME/.docker
echo $auth > $HOME/.docker/config.json # echo $auth > $HOME/.docker/config.json
- name: Log in to the GitHub Container registry # - name: Log in to the GitHub Container registry
uses: https://github.com/redhat-actions/podman-login@v1 # uses: https://github.com/redhat-actions/podman-login@v1
with: # with:
registry: ${{ env.REGISTRY }} # registry: "rievo.dev"
username: ${{ github.actor }} # username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }} # password: ${{ secrets.GITHUB_TOKEN }}
# 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