Fix npmjs deployment workflow (#49)

This commit is contained in:
Karol Wrótniak
2020-07-22 00:59:58 +02:00
committed by GitHub
parent f0f8b8795b
commit b76e22b0a7
2 changed files with 6 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ blocks:
- name: Deploy
commands:
- checkout
- 'docker build . -t "devicefarmer/stf:${SEMAPHORE_GIT_TAG_NAME:-latest}"'
- 'docker build . -t "devicefarmer/stf:$(echo ${SEMAPHORE_GIT_TAG_NAME:-vlatest} |cut -c 2-)"'
- docker push devicefarmer/stf
secrets:
- name: dockerhub-secrets