Skip to content

Commit

Permalink
feat: Add a beta tag
Browse files Browse the repository at this point in the history
Give a convenience tag for the pre-release images.
  • Loading branch information
m2Giles authored Oct 18, 2024
1 parent f959353 commit 883fd0b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,17 @@ jobs:
IS_LATEST_VERSION=false
IS_STABLE_VERSION=true
IS_GTS_VERSION=true
IS_BETA_VERSION=false
elif [[ "${{ matrix.fedora_version }}" -eq "40" ]]; then
IS_LATEST_VERSION=true
IS_STABLE_VERSION=true
IS_GTS_VERSION=false
IS_BETA_VERSION=false
elif [[ "${{ matrix.fedora_version }}" -eq "41" ]]; then
IS_LATEST_VERSION=false
IS_STABLE_VERSION=false
IS_GTS_VERSION=false
IS_BETA_VERSION=false
fi
COMMIT_TAGS=()
Expand Down Expand Up @@ -103,6 +106,10 @@ jobs:
BUILD_TAGS+=("gts-${TIMESTAMP}")
BUILD_TAGS+=("gts")
echo "DEFAULT_TAG=gts" >> $GITHUB_ENV
elif [[ "${IS_BETA_VERSION}" == "true" ]]; then
BUILD_TAGS+=("beta-${TIMESTAMP}")
BUILD_TAGS+=("beta")
echo "DEFAULT_TAG=beta" >> $GITHUB_ENV
fi
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
Expand Down

0 comments on commit 883fd0b

Please sign in to comment.