mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2025-02-08 18:59:10 +01:00
Fix syntax error and fix SC2039
This commit is contained in:
parent
4048bf938a
commit
f9ca671ddb
|
@ -16,7 +16,7 @@ for TARGET_VERSION in ${WP_VERSIONS}; do
|
||||||
|
|
||||||
docker buildx build --pull --push --build-arg "WP_VERSION=${TARGET_VERSION}" --platform "linux/amd64,linux/armhf,linux/aarch64" --tag "nlss/wordpress:${TARGET_VERSION}" .
|
docker buildx build --pull --push --build-arg "WP_VERSION=${TARGET_VERSION}" --platform "linux/amd64,linux/armhf,linux/aarch64" --tag "nlss/wordpress:${TARGET_VERSION}" .
|
||||||
|
|
||||||
if [ "${TARGET_VERSION}" == "${WP_LATEST_VERSION}"]; then
|
if [ "${TARGET_VERSION}" = "${WP_LATEST_VERSION}" ]; then
|
||||||
docker buildx build --pull --push --build-arg "WP_VERSION=${TARGET_VERSION}" --platform "linux/amd64,linux/armhf,linux/aarch64" --tag "nlss/wordpress:latest" .
|
docker buildx build --pull --push --build-arg "WP_VERSION=${TARGET_VERSION}" --platform "linux/amd64,linux/armhf,linux/aarch64" --tag "nlss/wordpress:latest" .
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue
Block a user