fix: skopeo nix shell multiline fix
This commit is contained in:
parent
743c9d0ba5
commit
d708a527c8
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
|
@ -14,8 +14,8 @@ jobs:
|
|||
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 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 &&
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue