Skip to content

Commit afc8ba0

Browse files
committed
Use image parameter instead of duplicating the hardcoded val
1 parent 523705c commit afc8ba0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ workflows:
2020
- run:
2121
name: Tag and Push
2222
command: |
23-
IMAGE_ID=operationcode/pybot
23+
IMAGE_ID=<<parameters.image>>
2424
docker tag ${IMAGE_ID}:${CIRCLE_BRANCH} ${IMAGE_ID}:${CIRCLE_BRANCH}-${CIRCLE_BUILD_NUM}
2525
docker push ${IMAGE_ID}:${CIRCLE_BRANCH}-${CIRCLE_BUILD_NUM}
2626
requires:

0 commit comments

Comments
 (0)