add some logging to the prepare step
This commit is contained in:
parent
0dc45b8b56
commit
6c12b22026
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue