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 d3b9dc8 commit acb53c1
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 @@ -55,6 +55,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 @@ -69,5 +70,5 @@ TAGS=(
"latest"
)

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

0 comments on commit acb53c1

Please sign in to comment.