Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Use template #2226

Merged
merged 3 commits into from
Sep 25, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions screwdriver.yaml
Original file line number Diff line number Diff line change
@@ -26,14 +26,14 @@ jobs:

publish:
requires: [main]
template: screwdriver-cd/semantic-release
steps:
- setup-ci: git clone https://github.com/screwdriver-cd/toolbox.git ci
- install-ci: npm install npm-auto-version
- publish-npm-and-git-tag: ./ci/publish.sh
- publish-docker: |
export DOCKER_TAG=`cat VERSION`
- postpublish: |
git clone https://github.com/screwdriver-cd/toolbox.git ci
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we make this a shared command.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just the clone part?

git fetch
export DOCKER_TAG=`git describe --tags`
./ci/docker-trigger.sh
- save-tag-to-meta: meta set docker_tag $DOCKER_TAG && meta get docker_tag
meta set docker_tag $DOCKER_TAG && meta get docker_tag
environment:
DOCKER_REPO: screwdrivercd/screwdriver
secrets: