Skip to content

Commit

Permalink
ensures that the workflow, also runs on tags (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
av-lasse authored Oct 18, 2023
1 parent 226254e commit f958c25
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ executors:
machine:
image: ubuntu-2204:2022.04.2

filters:
- &always
tags:
only: /.*/

commands:
build-image:
parameters:
Expand Down Expand Up @@ -323,46 +328,54 @@ jobs:
workflows:
everything:
jobs:
- lint-dockerfile-client
- lint-dockerfile-client:
filters: *always
- build-image-development-client:
context:
- "GIT"
- "ECR-RW"
requires:
- lint-dockerfile-client
filters: *always
- build-image-production-client:
context:
- "GIT"
- "ECR-RW"
requires:
- lint-dockerfile-client
filters: *always
- scan-client:
requires:
- build-image-production-client
context:
- "ECR-RW"
filters: *always
- client-e2e:
requires:
- build-image-development-client
context:
- "ECR-RW"
filters: *always
- client-component:
requires:
- build-image-development-client
context:
- "ECR-RW"
filters: *always
- client-linting:
requires:
- build-image-development-client
context:
- "ECR-RW"
filters: *always
- tag-tested-client-image-dev:
requires:
- client-e2e
- client-component
- client-linting
context:
- "ECR-RW"
filters: *always
- tag-tested-client-image-prod:
requires:
- client-e2e
Expand All @@ -371,6 +384,7 @@ workflows:
- scan-client
context:
- "ECR-RW"
filters: *always
- tag-final-client-image-prod:
requires:
- tag-tested-client-image-prod
Expand Down

0 comments on commit f958c25

Please sign in to comment.