fixup! fixup! Add version file for crane push
Some checks failed
Build image / build-image (push) Failing after 2m48s
Some checks failed
Build image / build-image (push) Failing after 2m48s
This commit is contained in:
parent
f86c94ae99
commit
6bab8ac3a9
@ -7,15 +7,15 @@ jobs:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
- run: ls -l
|
||||
- run: apt update && apt install sudo
|
||||
- run: apt-get update && apt-get install -y sudo
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v31
|
||||
with:
|
||||
enable_kvm: false
|
||||
- name: Get image name
|
||||
run: nix build .#image-name -o image-name
|
||||
- name: Build image
|
||||
run: nix build .#image -o image.tar.gz
|
||||
- name: Get image name
|
||||
run: nix build .#image-name -o image-name
|
||||
- run: ls -l
|
||||
- run: ls -l $(readlink -f image.tar.gz)
|
||||
- name: Install crane
|
||||
@ -25,4 +25,6 @@ jobs:
|
||||
|
||||
- run: echo $(cat image-name)
|
||||
|
||||
- run: crane push image.tar.gz $(cat image-name)
|
||||
- run: tar tvf image.tar.gz
|
||||
- run: echo $(readlink -f image.tar.gz)
|
||||
- run: crane push $(readlink -f image.tar.gz) $(cat image-name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user