mirror of
https://github.com/Telecominfraproject/wlan-cloud-graphql-gw.git
synced 2025-10-29 01:32:27 +00:00
Update dockerpublish.yml
This commit is contained in:
committed by
GitHub
parent
ced2cc88f4
commit
9c4b03ce6b
4
.github/workflows/dockerpublish.yml
vendored
4
.github/workflows/dockerpublish.yml
vendored
@@ -63,7 +63,7 @@ jobs:
|
||||
[[ "${{ github.ref }}" == "refs/heads/release/"* ]] && VERSION=$(echo "${{ github.ref }}" | sed -e 's/refs\/heads\/release\/[v]//' | awk '{print $1"-SNAPSHOT"}')
|
||||
|
||||
# Use Docker `latest` tag convention
|
||||
[ "$VERSION" == "master" ] && VERSION=1.2.0-SNAPSHOT
|
||||
[ "$VERSION" == "master" ] && VERSION=1.3.0-SNAPSHOT
|
||||
|
||||
TIMESTAMP=$(date +'%Y-%m-%d')
|
||||
echo date=$TIMESTAMP > commit.properties
|
||||
@@ -97,7 +97,7 @@ jobs:
|
||||
[[ "${{ github.ref }}" == "refs/heads/release/"* ]] && VERSION=$(echo "${{ github.ref }}" | sed -e 's/refs\/heads\/release\/[v]//' | awk '{print $1"-SNAPSHOT"}')
|
||||
|
||||
# Use Docker `latest` tag convention
|
||||
[ "$VERSION" == "master" ] && VERSION=1.2.0-SNAPSHOT
|
||||
[ "$VERSION" == "master" ] && VERSION=1.3.0-SNAPSHOT
|
||||
|
||||
echo IMAGE_ID=$IMAGE_ID
|
||||
echo VERSION=$VERSION
|
||||
|
||||
Reference in New Issue
Block a user