diff --git a/.github/workflows/container-auto-update.yml b/.github/workflows/container-auto-update.yml index 378e328..41d0e66 100644 --- a/.github/workflows/container-auto-update.yml +++ b/.github/workflows/container-auto-update.yml @@ -46,9 +46,14 @@ jobs: - name: Generate container image tags run: | source <(./tags.sh "$GITHUB_RUN_ID.$GITHUB_RUN_NUMBER") + echo "MILESTONE=$MILESTONE" | tee -a "$GITHUB_ENV" echo "VERSION=$VERSION" | tee -a "$GITHUB_ENV" echo "TAGS=$TAGS" | tee -a "$GITHUB_ENV" + - name: Check end of life + run: | + "$CI_TOOLS_PATH/containers/check-end-of-life.sh" "phpMyAdmin" "$MILESTONE" + - name: Check for updates run: | BUILD_ACTION="$(./check-for-updates.sh)" diff --git a/.github/workflows/container-publish.yml b/.github/workflows/container-publish.yml index 33b87f4..f9ed3de 100644 --- a/.github/workflows/container-publish.yml +++ b/.github/workflows/container-publish.yml @@ -46,6 +46,7 @@ jobs: - name: Generate container image tags run: | source <(./tags.sh "$GITHUB_RUN_ID.$GITHUB_RUN_NUMBER") + echo "MILESTONE=$MILESTONE" | tee -a "$GITHUB_ENV" echo "VERSION=$VERSION" | tee -a "$GITHUB_ENV" echo "TAGS=$TAGS" | tee -a "$GITHUB_ENV" diff --git a/tags.sh b/tags.sh index 8c5686f..e2d0675 100755 --- a/tags.sh +++ b/tags.sh @@ -55,5 +55,6 @@ TAGS=( "latest" ) +printf 'MILESTONE="%s"\n' "$VERSION_MINOR" printf 'VERSION="%s"\n' "$VERSION" printf 'TAGS="%s"\n' "${TAGS[*]}"