mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-21 20:08:09 +00:00
Merge pull request #333 from resin-io/cleanup-after-build
Clean up after build to avoid polluting the Jenkins server
This commit is contained in:
commit
d495e838b4
@ -33,3 +33,8 @@ make ${MAKE_ARGS} \
|
||||
DEPLOY_REGISTRY=registry.resinstaging.io/ \
|
||||
deploy
|
||||
|
||||
# Cleanup removing by Id to actually remove the images rather than untagging them
|
||||
docker rmi -f $(docker inspect -f "{{.Id}}" registry.resinstaging.io/resin/${ARCH}-supervisor:${ESCAPED_BRANCH_NAME}) || true
|
||||
docker rmi -f $(docker inspect -f "{{.Id}}" resin/${ARCH}-supervisor:${ESCAPED_BRANCH_NAME}) || true
|
||||
docker rmi -f $(docker inspect -f "{{.Id}}" registry.resinstaging.io/resin/node-supervisor-${ARCH}:${ESCAPED_BRANCH_NAME}) || true
|
||||
docker rmi -f $(docker inspect -f "{{.Id}}" registry.resinstaging.io/resin/go-supervisor-${ARCH}:${ESCAPED_BRANCH_NAME}) || true
|
||||
|
Loading…
Reference in New Issue
Block a user