Compare commits

..

No commits in common. "a175ad22aedb6c823cfb83200b81d9063fa6e8cd" and "56d67889b4b4d33551097a0470f36ec73412e00a" have entirely different histories.

View File

@ -10,9 +10,7 @@ jobs:
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v4 uses: actions/checkout@v4
# Required for installing nix - run: apt-get update && apt-get install -y sudo
- name: Install sudo
run: apt-get update && apt-get install -y sudo
- name: Install Nix - name: Install Nix
uses: cachix/install-nix-action@v31 uses: cachix/install-nix-action@v31
with: with:
@ -22,7 +20,8 @@ jobs:
- name: Version check - name: Version check
run: | run: |
VERSION=$(cat image-meta/version) VERSION=$(cat image-meta/version)
[ "$GITHUB_REF_NAME" = v"$VERSION" ] echo "$GITHUB_REF_NAME" == v"$VERSION"
test "$GITHUB_REF_NAME" == v"$VERSION"
- name: Build image - name: Build image
run: nix build .#image -o image.tar.gz run: nix build .#image -o image.tar.gz
- run: docker login -u paul -p "$PASSWORD" git.pbrinkmeier.de - run: docker login -u paul -p "$PASSWORD" git.pbrinkmeier.de