feature/cicd #2
@@ -22,12 +22,6 @@ steps:
|
|||||||
# Run the new container
|
# Run the new container
|
||||||
- docker run -d --name counter-app -p 8080:8080 localhost:5000/counter:latest
|
- docker run -d --name counter-app -p 8080:8080 localhost:5000/counter:latest
|
||||||
|
|
||||||
# Wait a moment for the container to start
|
|
||||||
- sleep 5
|
|
||||||
|
|
||||||
# Test the API
|
|
||||||
- curl -f 89.104.69.14:8080/ || exit 1
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: dockersock
|
- name: dockersock
|
||||||
host:
|
host:
|
||||||
|
|||||||
Reference in New Issue
Block a user