Skip to content

Commit 99abf2d

Browse files
committed
👷 Pass tag to Circle
1 parent f75d8df commit 99abf2d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ workflows:
1717
pre-steps:
1818
- run:
1919
command: |
20-
echo '{ "owner": "'${CIRCLE_PROJECT_USERNAME}'", "branch": "'${CIRCLE_BRANCH}'" }' >> /home/circleci/test.json
20+
echo '{ "owner": "'${CIRCLE_PROJECT_USERNAME}'", "branch": "'${CIRCLE_BRANCH}'", "tag": "'${CIRCLE_TAG}'"}' >> /home/circleci/test.json
2121
cat /home/circleci/test.json

.circleci/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ parameters:
1111
run_tests:
1212
type: boolean
1313
default: false
14+
tag:
15+
type: string
16+
default: untagged
1417

1518
commands:
1619
push-to-docker-hub:

0 commit comments

Comments
 (0)