mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2024-11-23 14:13:27 +01:00
For now, use hardcoded version
This commit is contained in:
parent
431b0572c0
commit
1231b8057a
2
.github/workflows/image.yml
vendored
2
.github/workflows/image.yml
vendored
|
@ -16,4 +16,4 @@ jobs:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
- name: Build image
|
- name: Build image
|
||||||
run: bin/build
|
run: bin/build 5.6.1
|
|
@ -1,7 +1,6 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
LATEST_TAG="$(git describe --tags --abbrev=0)"
|
WP_VERSION="${1:-}"
|
||||||
WP_VERSION="${1:-$LATEST_TAG}"
|
|
||||||
|
|
||||||
if [ -z "${WP_VERSION}" ]; then
|
if [ -z "${WP_VERSION}" ]; then
|
||||||
echo "Error: WP_VERSION is null"
|
echo "Error: WP_VERSION is null"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user