For now, use hardcoded version

This commit is contained in:
xZero707 2021-03-18 20:59:54 +01:00
parent 431b0572c0
commit 1231b8057a
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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"