File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -110,14 +110,14 @@ jobs:
110
110
exit 1
111
111
fi
112
112
113
- echo " "
114
- echo "Remove the build container"
115
- docker rmi ${IMAGE}:build
116
- status=$?
117
- if [ $status -ne 0 ]; then
118
- echo "Error: stop status $status"
119
- exit 1
120
- fi
113
+ # echo " "
114
+ # echo "Remove the build container"
115
+ # docker rmi ${IMAGE}:build
116
+ # status=$?
117
+ # if [ $status -ne 0 ]; then
118
+ # echo "Error: stop status $status"
119
+ # exit 1
120
+ # fi
121
121
122
122
- name : Push the image
123
123
env :
@@ -135,7 +135,7 @@ jobs:
135
135
136
136
if [ -n "$TAG" -a -n "$ORG" ]; then
137
137
# Get the built container name
138
- CONTAINER=`docker images --format "{{.Repository}}:{{.Tag}}" ${IMAGE}`
138
+ CONTAINER=`docker images --format "{{.Repository}}:{{.Tag}}" ${IMAGE} | grep -v ':build$' `
139
139
140
140
echo "docker push ${CONTAINER}"
141
141
docker push "${CONTAINER}"
You can’t perform that action at this time.
0 commit comments