Skip to content

Commit e05f4e1

Browse files
committed
GitHub workflow 'container-auto-update.yml': Add end-of-life check
1 parent 78cb07c commit e05f4e1

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.github/workflows/container-auto-update.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,14 @@ jobs:
4646
- name: Generate container image tags
4747
run: |
4848
source <(./tags.sh "$GITHUB_RUN_ID.$GITHUB_RUN_NUMBER")
49+
echo "MILESTONE=$MILESTONE" | tee -a "$GITHUB_ENV"
4950
echo "VERSION=$VERSION" | tee -a "$GITHUB_ENV"
5051
echo "TAGS=$TAGS" | tee -a "$GITHUB_ENV"
5152
53+
- name: Check end of life
54+
run: |
55+
"$CI_TOOLS_PATH/containers/check-end-of-life.sh" "MariaDB" "$MILESTONE"
56+
5257
- name: Check for updates
5358
run: |
5459
BUILD_ACTION="$(./check-for-updates.sh)"

.github/workflows/container-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
- name: Generate container image tags
4747
run: |
4848
source <(./tags.sh "$GITHUB_RUN_ID.$GITHUB_RUN_NUMBER")
49+
echo "MILESTONE=$MILESTONE" | tee -a "$GITHUB_ENV"
4950
echo "VERSION=$VERSION" | tee -a "$GITHUB_ENV"
5051
echo "TAGS=$TAGS" | tee -a "$GITHUB_ENV"
5152

tags.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,6 @@ TAGS=(
5858
"latest"
5959
)
6060

61+
printf 'MILESTONE="%s"\n' "$VERSION_MINOR"
6162
printf 'VERSION="%s"\n' "$VERSION"
6263
printf 'TAGS="%s"\n' "${TAGS[*]}"

0 commit comments

Comments
 (0)