.
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 - name: Create image
run: | 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 - uses: https://github.com/Frozen-Tapestry/container-action@v1
with: with:
@ -46,24 +47,24 @@ jobs:
push: true push: true
- name: Log into registry # - name: Log into registry
run: >- # run: >-
podman login # podman login
--log-level=debug # --log-level=debug
--authfile ~/.config/containers/auth.json # --authfile ~/.config/containers/auth.json
--username "${{ forge.actor }}" # --username "${{ forge.actor }}"
--password "${{ forge.token }}" # --password "${{ forge.token }}"
${{ env.registry }} # ${{ env.registry }}
- name: __DEBUG__ # - name: __DEBUG__
run: | # run: |
echo "~/.config/containers/auth.json" # echo "~/.config/containers/auth.json"
[ -f ~/.config/containers/auth.json ] && cat ~/.config/containers/auth.json || echo "file doesn't exist" # [ -f ~/.config/containers/auth.json ] && cat ~/.config/containers/auth.json || echo "file doesn't exist"
- name: Push image # - name: Push image
run: >- # run: >-
podman push # podman push
--log-level=debug # --log-level=debug
--authfile ~/.config/containers/auth.json # --authfile ~/.config/containers/auth.json
localhost/default:latest # localhost/default:latest
${{ env.registry }}/${{ env.owner }}/${{ env.image }}:${{ env.tag }} # ${{ env.registry }}/${{ env.owner }}/${{ env.image }}:${{ env.tag }}