clean
Some checks failed
cicd / pull (push) Successful in 5s
cicd / cicd (push) Failing after 4s

This commit is contained in:
bel
2023-10-28 08:53:08 -06:00
parent 93e4a92c9d
commit 4ffc9fbd1a

View File

@@ -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