From 63e5b24a8adcce87e819f4dbb1fa9ae9b424b766 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Fri, 19 Jul 2024 15:04:52 +0200 Subject: [PATCH] fixup! WIP CI --- .forgejo/workflows/build.yaml | 14 +++----------- flake.nix | 2 +- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 0b9930e..1ad056a 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -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 diff --git a/flake.nix b/flake.nix index 24538f8..9c36d56 100644 --- a/flake.nix +++ b/flake.nix @@ -87,7 +87,7 @@ default = li7y; li7y-oci = pkgs.dockerTools.buildLayeredImage { - name = "git.sbruder.de/simon/li7y"; + name = "li7y"; tag = "latest"; contents = [