Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

fixes for nm-get-docker-tag #344

Merged
merged 3 commits into from
Jun 28, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/actions/nm-get-docker-tags/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ runs:
- id: tags
run: |
BUILD_VERSION=`echo "${{ inputs.wheel }} | cut -d'-' -f2`
if [[ "${{ inputs.wf_category }}" = "RELEASE" ]]; then
if [[ "${{ inputs.wf_category }}" == "RELEASE" ]]; then
TAG="v${build_version}"
EXTRA_TAG=latest
else
TAG=`echo "${build_version}" | cut -d'.' -f4`
EXTRA_TAG=nightly
fi
if [[ "${{ inputs.wheel }} = 'latest' ]]; then
BUILD_VERSION='latest'
if [[ "${{ inputs.wheel }}" == "latest" ]]; then
BUILD_VERSION="latest"
fi
echo "tag=${TAG}" >> $GITHUB_OUTPUT
echo "extra_tag=${EXTRA_TAG}" >> $GITHUB_OUTPUT
Expand Down
Loading