fixup! fixup! fixup! Add version to image meta
This commit is contained in:
parent
c00b8f24f1
commit
a175ad22ae
@ -10,7 +10,9 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
- run: apt-get update && apt-get install -y sudo
|
||||
# Required for installing nix
|
||||
- name: Install sudo
|
||||
run: apt-get update && apt-get install -y sudo
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v31
|
||||
with:
|
||||
@ -20,7 +22,6 @@ jobs:
|
||||
- name: Version check
|
||||
run: |
|
||||
VERSION=$(cat image-meta/version)
|
||||
echo "$GITHUB_REF_NAME" = v"$VERSION"
|
||||
[ "$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