Skip to content

Commit

Permalink
GitHub workflows: Add end-of-life check to 'container-auto-update.yml…
Browse files Browse the repository at this point in the history
…' workflow
  • Loading branch information
PhrozenByte committed Jul 6, 2023
1 parent 93b8507 commit 8f7ead1
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 @@ -62,9 +62,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" "Alpine" "$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 @@ -55,6 +55,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 @@ -85,5 +85,6 @@ if [ "$VERSION" == "$(ls_versions "$VERSION_MINOR" | head -n 1)" ]; then
fi
fi

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

0 comments on commit 8f7ead1

Please sign in to comment.