Skip to content

Commit

Permalink
Merge pull request #4979 from camptocamp/clean-dockerhub-tags
Browse files Browse the repository at this point in the history
Reactivate clean Docker hub tags
  • Loading branch information
sbrunner authored Jun 6, 2019
2 parents a339416 + dac94f3 commit 0c70b87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,11 @@ jobs:
git config user.email "<[email protected]>"
git config user.name "CI"
git fetch push
- run:
name: Clean Docker hub tags
command: ci/clean-dockerhub-tags
- deploy: &publish-docker-pip
name: Push to Docker hub and Pypi
# git remote add full https://github.com/camptocamp/c2cgeoportal.git || true
# git fetch --tags --prune
# ci/clean-dockerhub-tags
command: |
docker build --target=builder --tag=camptocamp/geomapfish-build \
--build-arg=MAJOR_VERSION=${MAJOR_VERSION} .
Expand Down
3 changes: 1 addition & 2 deletions ci/clean-dockerhub-tags
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ def clean_images(image, tag_=lambda tag: tag):
}
)


for image in ["geomapfish-build", "geomapfish-build-dev", "geomapfish-geoportal"]:
for image in ["geomapfish", "geomapfish-build", "geomapfish-scaffolds", "geomapfish-geoportal"]:
clean_images(image)


Expand Down

0 comments on commit 0c70b87

Please sign in to comment.