fix(ci): for some reason crane doesn't support compressed tar archives
Some checks failed
Publish docker image / Publish (push) Failing after 2m22s
Some checks failed
Publish docker image / Publish (push) Failing after 2m22s
This commit is contained in:
parent
b6691214aa
commit
89619e002b
1 changed files with 4 additions and 2 deletions
|
@ -18,7 +18,9 @@ jobs:
|
|||
run: "nix --extra-experimental-features 'nix-command,flakes' build .#docker"
|
||||
- name: Log into registry
|
||||
run: "nix shell nixpkgs#crane --command crane auth login git.ashhhleyyy.dev -u ${{github.actor}} -p ${{secrets.GITHUB_TOKEN}}"
|
||||
- name: Decompress tar.gz
|
||||
run: "gunzip -c result > /tmp/aci.tar"
|
||||
- name: Push image (latest)
|
||||
run: "nix shell nixpkgs#crane --command crane push result git.ashhhleyyy.dev/ash/aci:latest"
|
||||
run: "nix shell nixpkgs#crane --command crane push /tmp/aci.tar git.ashhhleyyy.dev/ash/aci:latest"
|
||||
- name: Push image
|
||||
run: "nix shell nixpkgs#crane --command crane push result git.ashhhleyyy.dev/ash/aci:${{github.sha}}"
|
||||
run: "nix shell nixpkgs#crane --command crane push /tmp/aci.tar git.ashhhleyyy.dev/ash/aci:${{github.sha}}"
|
||||
|
|
Loading…
Reference in a new issue