Skip to content

Commit 4826a15

Browse files
author
Matthias Koeppe
committed
tox.ini (docker): Record successful pushes in Dockertags.pushed
1 parent a19a348 commit 4826a15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ commands =
784784
docker: if [ x"{env:DOCKER_PUSH_REPOSITORY:}" != x -a x"$PUSH_TAGS" != x ]; then \
785785
docker: echo Pushing $PUSH_TAGS; \
786786
docker: for tag in $PUSH_TAGS; do \
787-
docker: docker push $tag || echo "(ignoring errors)"; \
787+
docker: if docker push $tag; then echo $tag >> {envdir}/Dockertags.pushed; else echo "(ignoring errors)"; fi; \
788788
docker: done; \
789789
docker: fi; \
790790
docker: if [ x"$BUILD_TAG" != x ]; then \

0 commit comments

Comments
 (0)