ugh
Some checks failed
Test action / Print hello world (push) Failing after 12s

This commit is contained in:
Chris Kruining 2025-09-04 14:07:06 +02:00
parent 716342d556
commit b158df262e
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2

View file

@ -30,6 +30,18 @@ jobs:
mkdir -p ~/.config/containers
echo '{ "default": [ {"type":"insecureAcceptAnything"} ] }' > ~/.config/containers/policy.json
# Create authentication file for podman
mkdir -p ~/.docker
cat > ~/.docker/config.json <<EOF
{
"auths": {
"${{ env.REGISTRY }}": {
"auth": "$(echo -n "${{ forge.actor }}:${{ forge.token }}" | base64 -w 0)"
}
}
}
EOF
- name: Log into registry
run: |
podman login --username "${{ forge.actor }}" --password "${{ forge.token }}" ${{ env.registry }}
@ -41,8 +53,8 @@ jobs:
- name: __DEBUG__
run: |
cat ${XDG_RUNTIME_DIR}/containers/auth.json
cat ~/.docker/config.json
[ -r ${XDG_RUNTIME_DIR}/containers/auth.json ] && cat ${XDG_RUNTIME_DIR}/containers/auth.json
[ -r ~/.docker/config.json ] && cat ~/.docker/config.json
- name: Push image
run: >-