Update .forgejo/workflows/build.yml

This commit is contained in:
Seraphim Strub 2025-03-23 17:42:37 +00:00
parent 0dfa49dd94
commit cdd199ab9b

View file

@ -38,20 +38,20 @@ jobs:
- name: Checkout
uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Workaround open podman-login action issue
env:
auth: "{ \"auths\": {} }"
run: |
mkdir -p $HOME/.docker
echo $auth > $HOME/.docker/config.json
# - name: Workaround open podman-login action issue
# env:
# auth: "{ \"auths\": {} }"
# run: |
# mkdir -p $HOME/.docker
# echo $auth > $HOME/.docker/config.json
- name: Log in to the GitHub Container registry
uses: https://github.com/redhat-actions/podman-login@4934294ad0449894bcd1e9f191899d7292469603 # master
with:
registry: rievo.dev
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
auth_file_path: /run/containers/0/auth.json
# - name: Log in to the GitHub Container registry
# uses: https://github.com/redhat-actions/podman-login@4934294ad0449894bcd1e9f191899d7292469603 # master
# with:
# registry: rievo.dev
# username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }}
# auth_file_path: /run/containers/0/auth.json
# This is optional, but if you see that your builds are way too big for the runners, you can enable this by uncommenting the following lines:
# - name: Maximize build space