Align chart tag with application 2.4.69-8.5.11
Publish PHP Apache image / Build, test and push (push) Successful in 40s
Publish PHP Apache image / Build, test and push (push) Successful in 40s
This commit is contained in:
@@ -128,6 +128,11 @@ jobs:
|
||||
test -n "${php_version}"
|
||||
version_tag="${apache_version}-${php_version}"
|
||||
printf 'VERSION_TAG=%s\n' "${version_tag}" >> "${GITHUB_ENV}"
|
||||
base_tag="$(git describe --tags --abbrev=0 --match 'v[0-9]*')"
|
||||
if [ "${base_tag}" != "v${version_tag}" ]; then
|
||||
echo "Chart base tag ${base_tag} does not match built image ${version_tag}" >&2
|
||||
exit 1
|
||||
fi
|
||||
chart_version="$(./scripts/chart-version.sh)"
|
||||
printf 'CHART_VERSION=%s\n' "${chart_version}" >> "${GITHUB_ENV}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user