Skip to content

Commit

Permalink
GitHub workflow 'container-auto-update.yml': Add end-of-life check
Browse files Browse the repository at this point in the history
  • Loading branch information
PhrozenByte committed Jul 8, 2023
1 parent ca50cb5 commit 02cb88c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/container-auto-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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" "Apache" "$MILESTONE"
- name: Check for updates
run: |
BUILD_ACTION="$(./check-for-updates.sh)"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/container-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions tags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,6 @@ TAGS=(
"latest"
)

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

0 comments on commit 02cb88c

Please sign in to comment.