From 743c9d0ba5aa09dc0b62b0e6e5a73af91eb50d80 Mon Sep 17 00:00:00 2001 From: Tamipes Date: Mon, 12 Jan 2026 20:14:06 +0100 Subject: [PATCH] feat: add create another tag for image --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f4e5a21..a76f411 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,10 @@ jobs: - name: Setup skopeo run: curl -o /etc/containers/policy.json --create-dirs https://raw.githubusercontent.com/containers/skopeo/refs/heads/main/default-policy.json - name: Push Image - run: nix run --extra-experimental-features "flakes nix-command" nixpkgs#skopeo -- copy --dest-password "$UPLOAD_TOKEN" --dest-username "$USERNAME" docker-archive://$(realpath result) docker://git.tami.moe/tamipes/nix + run: | + nix shell --extra-experimental-features "flakes nix-command" nixpkgs#skopeo -c sh -c + 'skopeo copy --dest-password "$UPLOAD_TOKEN" --dest-username "$USERNAME" docker-archive://$(realpath result) docker://git.tami.moe/tamipes/nix && + skopeo copy --dest-password "$UPLOAD_TOKEN" --dest-username "$USERNAME" docker-archive://$(realpath result) docker://git.tami.moe/tamipes/nix:$(date --iso-8601)' env: USERNAME: tamipes UPLOAD_TOKEN: ${{ secrets.UPLOAD_TOKEN }}