Skip to content
This repository has been archived by the owner on Nov 4, 2021. It is now read-only.

Commit

Permalink
fix(ci): replace slash from branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielrtakeda committed May 8, 2018
1 parent 9bc14b7 commit d001d99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pipeline:
dockerfile: packages/slate-editor-example/Dockerfile
context: packages/slate-editor-example
tags:
- ${DRONE_BRANCH}
- ${DRONE_BRANCH/\//-}
when:
status: success
branch: [feature/*, release/*, hotfix/*, support/*, develop]
Expand All @@ -23,7 +23,7 @@ pipeline:
image: peloton/drone-rancher
url: http://cluster.bonde.org
service: staging/slate-editor
docker_image: nossas/slate-editor:${DRONE_BRANCH}
docker_image: nossas/slate-editor:${DRONE_BRANCH/\//-}
timeout: 360
confirm: true
secrets: [rancher_access_key, rancher_secret_key]
Expand Down

0 comments on commit d001d99

Please sign in to comment.