Skip to content

Commit

Permalink
Update CI to meet latest standards
Browse files Browse the repository at this point in the history
  • Loading branch information
PhrozenByte committed Dec 7, 2024
1 parent f445e00 commit d03ec3f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/container-auto-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
echo "CI_TOOLS_PATH=$CI_TOOLS_PATH" | tee -a "$GITHUB_ENV"
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Log into container registry ${{ env.REGISTRY }}
uses: redhat-actions/podman-login@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/container-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
echo "CI_TOOLS_PATH=$CI_TOOLS_PATH" | tee -a "$GITHUB_ENV"
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Log into container registry ${{ env.REGISTRY }}
uses: redhat-actions/podman-login@v1
Expand Down
3 changes: 2 additions & 1 deletion tags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ elif ! [[ "$VERSION" =~ ^([0-9]+)\.([0-9]+)\.([0-9]+)([+~-]|$) ]]; then
exit 1
fi

VERSION_FULL="$VERSION"
VERSION="${BASH_REMATCH[1]}.${BASH_REMATCH[2]}.${BASH_REMATCH[3]}"
VERSION_MINOR="${BASH_REMATCH[1]}.${BASH_REMATCH[2]}"
VERSION_MAJOR="${BASH_REMATCH[1]}"
Expand All @@ -52,5 +53,5 @@ TAGS=(
"latest"
)

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

0 comments on commit d03ec3f

Please sign in to comment.