Skip to content

Commit

Permalink
fix parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
mmpetarpeshev committed Sep 22, 2021
1 parent d71d3b2 commit 6226923
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@ executors:
docker:
- image: circleci/buildpack-deps:bionic
user: root


references:
docker_parameters: &docker_parameters
DOCKERHUB_REPO:
type: string

commands:
docker_build:
parameters: *docker_parameters
steps:
- checkout
- setup_remote_docker:
Expand All @@ -20,11 +26,11 @@ commands:
docker push << parameters.DOCKERHUB_REPO >>:${CIRCLE_TAG:-master}
jobs:
docker_push_tag:
parameters: *docker_parameters
executor: docker_builder
steps:
- docker_build:
DOCKERHUB_REPO: << parameters.DOCKERHUB_REPO >>
VERSION_TAG: << parameters.VERSION_TAG >>

workflows:
version: 2
Expand Down

0 comments on commit 6226923

Please sign in to comment.