fixup! Add version to image meta
Some checks failed
Build image / build-image (push) Has been cancelled
Some checks failed
Build image / build-image (push) Has been cancelled
This commit is contained in:
parent
eceec32264
commit
56d67889b4
@ -15,11 +15,12 @@ jobs:
|
||||
uses: cachix/install-nix-action@v31
|
||||
with:
|
||||
enable_kvm: false
|
||||
- name: Get image name
|
||||
- name: Get image meta
|
||||
run: nix build .#image-meta -o image-meta
|
||||
- name: Version check
|
||||
run: |
|
||||
VERSION=$(cat image-meta/version)
|
||||
echo "$GITHUB_REF_NAME" == v"$VERSION"
|
||||
test "$GITHUB_REF_NAME" == v"$VERSION"
|
||||
- name: Build image
|
||||
run: nix build .#image -o image.tar.gz
|
||||
|
Loading…
x
Reference in New Issue
Block a user