finally solved it?!?!?!?!?!
All checks were successful
Create OCI image(s) / Build and push images (push) Successful in 3m16s

This commit is contained in:
Chris Kruining 2025-09-08 16:05:45 +02:00
parent 1f8693cadf
commit 265d98df67
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2

View file

@ -29,28 +29,13 @@ jobs:
echo "Creating config file..."
echo '{ "default": [ {"type":"insecureAcceptAnything"} ] }' > ~/.config/containers/policy.json
echo "Created config file"
# configure authentication
# echo "Creating auth file..."
# cat > ~/.config/containers/auth.json <<EOF
# {
# "auths": {
# "${{ env.registry }}": {
# "auth": "$(echo -n "${{ forge.actor }}:${{ secrets.PACKAGE_TOKEN }}" | base64 -w 0)"
# }
# }
# }
# EOF
# echo "Created auth file"
- name: Checkout repo
uses: actions/checkout@v4
- name: Authenticate
run: |
set -x
echo "${{ secrets.PACKAGE_TOKEN }}" | podman login --username '${{ forge.actor }}' --password-stdin ${{ env.registry }}
podman login --username '${{ forge.actor }}' --password '${{ secrets.PACKAGE_TOKEN }}' ${{ env.registry }}
- name: Create image
run: |