finally solved it?!?!?!?!?!
All checks were successful
Create OCI image(s) / Build and push images (push) Successful in 3m16s
All checks were successful
Create OCI image(s) / Build and push images (push) Successful in 3m16s
This commit is contained in:
parent
1f8693cadf
commit
265d98df67
1 changed files with 1 additions and 16 deletions
|
|
@ -30,27 +30,12 @@ jobs:
|
||||||
echo '{ "default": [ {"type":"insecureAcceptAnything"} ] }' > ~/.config/containers/policy.json
|
echo '{ "default": [ {"type":"insecureAcceptAnything"} ] }' > ~/.config/containers/policy.json
|
||||||
echo "Created config file"
|
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
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Authenticate
|
- name: Authenticate
|
||||||
run: |
|
run: |
|
||||||
set -x
|
podman login --username '${{ forge.actor }}' --password '${{ secrets.PACKAGE_TOKEN }}' ${{ env.registry }}
|
||||||
|
|
||||||
echo "${{ secrets.PACKAGE_TOKEN }}" | podman login --username '${{ forge.actor }}' --password-stdin ${{ env.registry }}
|
|
||||||
|
|
||||||
- name: Create image
|
- name: Create image
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue