fixup! WIP CI
Some checks failed
/ build (push) Has been cancelled

This commit is contained in:
Simon Bruder 2024-07-19 15:04:52 +02:00
parent 6429f6abd0
commit 63e5b24a8a
Signed by: simon
GPG key ID: 347FF8699CDA0776
2 changed files with 4 additions and 12 deletions

View file

@ -16,14 +16,6 @@ jobs:
run: |
nix build .#li7y-oci
podman image load -i ./result
- name: Push OCI image
id: push-oci
uses: https://github.com/redhat-actions/push-to-registry@v2
with:
image: git.sbruder.de/simon/li7y
tags: latest
registry: git.sbruder.de
username: simon
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Print image url
run: echo "Image pushed to ${{ steps.push-oci.outputs.registry-paths }}"
podman login --username simon --password "${REGISTRY_PASSWORD}" git.sbruder.de
podman tag li7y git.sbruder.de/simon/li7y:latest
podman push git.sbruder.de/simon/li7y:latest

View file

@ -87,7 +87,7 @@
default = li7y;
li7y-oci = pkgs.dockerTools.buildLayeredImage {
name = "git.sbruder.de/simon/li7y";
name = "li7y";
tag = "latest";
contents = [