clean
This commit is contained in:
@@ -11,7 +11,12 @@ jobs:
|
||||
steps:
|
||||
- name: pull
|
||||
run: |
|
||||
was=$(docker images | grep registry-app.inhome.blapointe.com:5001/docker:latest | awk '{print $3}')
|
||||
docker pull registry-app.inhome.blapointe.com:5001/docker:latest
|
||||
new=$(docker images | grep registry-app.inhome.blapointe.com:5001/docker:latest | awk '{print $3}')
|
||||
if [ "$was" != "$new" ]; then
|
||||
docker rmi "$was"
|
||||
fi
|
||||
shell: sh
|
||||
cicd:
|
||||
name: cicd
|
||||
@@ -19,6 +24,8 @@ jobs:
|
||||
steps:
|
||||
- name: cicd
|
||||
run: |
|
||||
was=$(docker images | grep registry-app.inhome.blapointe.com:5001/docker:latest | awk '{print $3}')
|
||||
|
||||
docker ps | grep docker
|
||||
docker images | grep docker
|
||||
hostname
|
||||
@@ -29,4 +36,9 @@ jobs:
|
||||
pwd
|
||||
find . -type d
|
||||
sh ./build.sh
|
||||
|
||||
new=$(docker images | grep registry-app.inhome.blapointe.com:5001/docker:latest | awk '{print $3}')
|
||||
if [ "$was" != "$new" ]; then
|
||||
docker rmi "$was"
|
||||
fi
|
||||
shell: sh
|
||||
|
||||
Reference in New Issue
Block a user