Skip to content

Commit

Permalink
[tool] fix docker tagging when building for a tag (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumejparis authored and Dimfacion committed Dec 16, 2024
1 parent 6066560 commit cb0464c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ jobs:
working_directory: ~/openbas/http-query
name: Build Docker image openbas/injector-http-query
command: |
TAGS="openbas/injector-http-query:${CIRCLE_TAG}"
$IS_LATEST && TAGS="$TAGS openbas/injector-http-query:latest"
docker build --progress=plain . && docker tag $TAGS
TAGS="-t openbas/injector-http-query:${CIRCLE_TAG}"
$IS_LATEST && TAGS="$TAGS -t openbas/injector-http-query:latest"
docker build --progress=plain $TAGS .
- run:
name: Publish Docker Image to Docker Hub
command: |
Expand Down

0 comments on commit cb0464c

Please sign in to comment.