Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reactivate clean Docker hub tags #4979

Merged
merged 1 commit into from
Jun 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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