Merge pull request #464 from dannyrb/master
fix: explicit txt extension for tmp version file
This commit is contained in:
commit
95629cfe12
@ -102,7 +102,7 @@ jobs:
|
||||
command: |
|
||||
#
|
||||
#
|
||||
if [[ ! -e ~/tmp/updated-version ]]; then
|
||||
if [[ ! -e ~/tmp/updated-version.txt ]]; then
|
||||
exit 1
|
||||
fi
|
||||
- setup_remote_docker:
|
||||
@ -110,9 +110,9 @@ jobs:
|
||||
- run:
|
||||
name: Build and push Docker image
|
||||
command: |
|
||||
docker build -t ohif/$IMAGE_NAME:{{ checksum "~/tmp/updated-version" }}.${CIRCLE_BUILD_NUM} ohif/$IMAGE_NAME:latest .
|
||||
docker build -t ohif/$IMAGE_NAME:{{ checksum "~/tmp/updated-version.txt" }}.${CIRCLE_BUILD_NUM} ohif/$IMAGE_NAME:latest .
|
||||
echo $DOCKER_PWD | docker login -u $DOCKER_LOGIN --password-stdin
|
||||
docker push ohif/$IMAGE_NAME:{{ checksum "~/tmp/updated-version" }}.${CIRCLE_BUILD_NUM}
|
||||
docker push ohif/$IMAGE_NAME:{{ checksum "~/tmp/updated-version.txt" }}.${CIRCLE_BUILD_NUM}
|
||||
docker push ohif/$IMAGE_NAME:latest
|
||||
|
||||
workflows:
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
[
|
||||
"@semantic-release/exec",
|
||||
{
|
||||
"publishCmd": "echo ${nextRelease.version} > ~/tmp/updated-version"
|
||||
"publishCmd": "echo ${nextRelease.version} > ~/tmp/updated-version.txt"
|
||||
}
|
||||
]
|
||||
]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user