Skip to content

Commit

Permalink
Fix generator docker image build
Browse files Browse the repository at this point in the history
Use the setup_build_environment orb command to correctly setup remote
docker for building the generator docker image.

Signed-off-by: SuperQ <[email protected]>
  • Loading branch information
SuperQ committed Aug 17, 2023
1 parent 20657d2 commit 087b5e5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ jobs:
executor: golang

steps:
- prometheus/setup_environment
- prometheus/setup_build_environment:
docker_version: ""
- run: make -C generator docker
- run: make -C generator docker DOCKER_REPO=quay.io/prometheus
- run: docker images
Expand All @@ -64,7 +65,8 @@ jobs:
executor: golang

steps:
- prometheus/setup_environment
- prometheus/setup_build_environment:
docker_version: ""
- run: make -C generator docker DOCKER_IMAGE_TAG=$CIRCLE_TAG
- run: make -C generator docker DOCKER_IMAGE_TAG=$CIRCLE_TAG DOCKER_REPO=quay.io/prometheus
- run: docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD
Expand Down

0 comments on commit 087b5e5

Please sign in to comment.