File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 2828 - name : Prepare
2929 id : prep
3030 run : |
31- DOCKER_IMAGE=criticalmanufacturing/repository
31+ DOCKER_IMAGE=criticalmanufacturing/nexus
32+ BASE_VERSION=3.27.0
3233 VERSION=noop
3334 if [ "${{ github.event_name }}" = "schedule" ]; then
3435 VERSION=nightly
4243 elif [[ $GITHUB_REF == refs/pull/* ]]; then
4344 VERSION=pr-${{ github.event.number }}
4445 fi
45- TAGS="${DOCKER_IMAGE}:${VERSION}"
46- if [[ $VERSION =~ ^v[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
46+ TAGS="${DOCKER_IMAGE}:${BASE_VERSION}-${ VERSION}"
47+ if [[ $VERSION =~ ^.* v[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
4748 MINOR=${VERSION%.*}
4849 MAJOR=${MINOR%.*}
4950 TAGS="$TAGS,${DOCKER_IMAGE}:${MINOR},${DOCKER_IMAGE}:${MAJOR},${DOCKER_IMAGE}:latest"
You can’t perform that action at this time.
0 commit comments