From 1231b8057a98d56636dfdd8a79355a5397ea9043 Mon Sep 17 00:00:00 2001 From: xZero707 Date: Thu, 18 Mar 2021 20:59:54 +0100 Subject: [PATCH] For now, use hardcoded version --- .github/workflows/image.yml | 2 +- bin/build | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index 11d62e2..649666b 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -16,4 +16,4 @@ jobs: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Build image - run: bin/build + run: bin/build 5.6.1 \ No newline at end of file diff --git a/bin/build b/bin/build index 5e14301..94db71f 100755 --- a/bin/build +++ b/bin/build @@ -1,7 +1,6 @@ #!/usr/bin/env sh -LATEST_TAG="$(git describe --tags --abbrev=0)" -WP_VERSION="${1:-$LATEST_TAG}" +WP_VERSION="${1:-}" if [ -z "${WP_VERSION}" ]; then echo "Error: WP_VERSION is null"