File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -262,13 +262,13 @@ jobs:
262
262
if : always()
263
263
- name : List Docker images
264
264
run : |
265
- if [ -n "$DOCKER_PUSH_REPOSITORY" -a -f .tox/$TOX_ENV/Dockertags ]; then
266
- set -- $(cat .tox/$TOX_ENV/Dockertags)
265
+ if [ -n "$DOCKER_PUSH_REPOSITORY" -a -f .tox/$TOX_ENV/Dockertags.pushed ]; then
266
+ set -- $(cat .tox/$TOX_ENV/Dockertags.pushed )
267
267
case $# in
268
268
1) images="image"; one_image="the image";;
269
269
*) images="images"; one_image="one of the images";;
270
270
esac
271
- echo "::notice title=Docker $images pushed::Pushed $images $(echo $(cat .tox/$TOX_ENV/Dockertags) )"
271
+ echo "::notice title=Docker $images pushed::Pushed $images $* )"
272
272
echo
273
273
echo "To pull $one_image and enter the container, type:"
274
274
echo
@@ -292,5 +292,7 @@ jobs:
292
292
fi
293
293
echo " FROM_DOCKER_TAG=${TAG#*:} tox -e $TOX_ENV_SANS_INCREMENTAL-incremental"
294
294
done
295
+ else
296
+ echo "No Docker images pushed"
295
297
fi
296
298
if : always()
You can’t perform that action at this time.
0 commit comments