changed push url added auth for ghcr

This commit is contained in:
2025-10-26 15:57:30 +01:00
parent 7e40620df6
commit 4b11b0ada2

View File

@@ -30,5 +30,7 @@ jobs:
- run: nix build .#docker
- run: docker load -i result
- run: export CARGO_VERSION=$(cargo metadata --format-version=1 --no-deps | from json | get packages | first | get version)
- run: docker tag docki:latest ghcr.io/quirinecker/docki:$CARGO_VERSION
- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- run: docker tag docki:latest ghcr.io/quirinecker/docki/docki:$CARGO_VERSION
- run: docker push docki:$CARGO_VERSION