Skip to content

Commit

Permalink
fix: Use git-latest to get DOCKER_TAG
Browse files Browse the repository at this point in the history
Use git-latest file to get latest version instead of `git describe --abbrev=0 --tags`

https://github.com/screwdriver-cd/guide/blob/master/screwdriver.yaml#L47-L48
  • Loading branch information
tkyi authored Oct 12, 2017
1 parent 64afeec commit 2b16eb1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions screwdriver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,6 @@ jobs:
- K8S_TOKEN
steps:
- setup-ci: git clone https://github.com/screwdriver-cd/toolbox.git ci
- wait-docker: DOCKER_TAG=`git describe --abbrev=0 --tags` ./ci/docker-wait.sh
- deploy-k8s: K8S_TAG=`git describe --abbrev=0 --tags` ./ci/k8s-deploy.sh
- get-tag: ./ci/git-latest.sh
- wait-docker: DOCKER_TAG=`cat VERSION` ./ci/docker-wait.sh
- deploy-k8s: K8S_TAG=`cat VERSION` ./ci/k8s-deploy.sh

0 comments on commit 2b16eb1

Please sign in to comment.