debug this shizz
Some checks failed
Create OCI image(s) / Build and push images (push) Failing after 1m50s
Some checks failed
Create OCI image(s) / Build and push images (push) Failing after 1m50s
This commit is contained in:
parent
b9adc4b113
commit
9148cf507e
1 changed files with 13 additions and 7 deletions
|
|
@ -32,22 +32,28 @@ jobs:
|
|||
echo '{ "default": [ {"type":"insecureAcceptAnything"} ] }' > ~/.config/containers/policy.json
|
||||
|
||||
- name: Log into registry
|
||||
run: |
|
||||
podman login --authfile ~/.config/containers/auth.json --username "${{ forge.actor }}" --password "${{ forge.token }}" ${{ env.registry }}
|
||||
|
||||
- name: __DEBUG__
|
||||
run: |
|
||||
echo "~/.config/containers/auth.json"
|
||||
[ -f ~/.config/containers/auth.json ] && cat ~/.config/containers/auth.json || echo "file doesn't exist"
|
||||
run: >-
|
||||
podman login
|
||||
--log-level=debug
|
||||
--authfile ~/.config/containers/auth.json
|
||||
--username "${{ forge.actor }}"
|
||||
--password "${{ forge.token }}"
|
||||
${{ env.registry }}
|
||||
|
||||
- name: Create image
|
||||
run: |
|
||||
nix-build src/default.nix
|
||||
podman load < result
|
||||
|
||||
- name: __DEBUG__
|
||||
run: |
|
||||
echo "~/.config/containers/auth.json"
|
||||
[ -f ~/.config/containers/auth.json ] && cat ~/.config/containers/auth.json || echo "file doesn't exist"
|
||||
|
||||
- name: Push image
|
||||
run: >-
|
||||
podman push
|
||||
--log-level=debug
|
||||
--authfile ~/.config/containers/auth.json
|
||||
localhost/default:latest
|
||||
${{ env.registry }}/${{ env.owner }}/${{ env.image }}:${{ env.tag }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue