.
Some checks failed
Create OCI image(s) / Build and push images (push) Failing after 1m51s

This commit is contained in:
Chris Kruining 2025-09-08 11:55:55 +02:00
parent 0167a6389a
commit 22ba8a37dc
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2

View file

@ -33,7 +33,8 @@ jobs:
- name: Create image
run: |
nix-build src/default.nix | podman load
nix-build src/default.nix
podman load < result
- uses: https://github.com/Frozen-Tapestry/container-action@v1
with:
@ -46,24 +47,24 @@ jobs:
push: true
- name: Log into registry
run: >-
podman login
--log-level=debug
--authfile ~/.config/containers/auth.json
--username "${{ forge.actor }}"
--password "${{ forge.token }}"
${{ env.registry }}
# - name: Log into registry
# run: >-
# podman login
# --log-level=debug
# --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"
# - 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 }}
# - 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 }}