add some logging to the prepare step

This commit is contained in:
Chris Kruining 2025-09-08 15:36:27 +02:00
parent 0dc45b8b56
commit 6c12b22026
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2

View file

@ -24,11 +24,14 @@ jobs:
# cheatsheet: https://nexveridian.com/blog/forgejo-pushing-container-images/
- name: Prepare environment
run: |
# configure container policy to accept insecure registry
mkdir -p ~/.config/containers
# configure container policy to accept insecure registry
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": {
@ -38,6 +41,7 @@ jobs:
}
}
EOF
echo "Created auth file"
- name: Checkout repo
uses: actions/checkout@v4