Skip to content

Commit

Permalink
Adding shared context instead of env vars in circleci config
Browse files Browse the repository at this point in the history
  • Loading branch information
ManoelMilchev committed Jan 18, 2023
1 parent e96a897 commit 7a465cc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@ workflows:
jobs:
- ft-golang-ci/build-and-test:
name: build-and-test-project
context: cm-team-github
- ft-golang-ci/docker-build:
name: build-docker-image
requires:
- build-and-test-project
context: cm-team-github

snyk-scanning:
jobs:
- ft-golang-ci/scan:
name: scan-dependencies
context: cm-team-snyk
context:
- cm-team-snyk
- cm-team-github

0 comments on commit 7a465cc

Please sign in to comment.