This commit is contained in:
@@ -26,10 +26,10 @@ steps:
|
||||
from_secret: dragon_scale
|
||||
script:
|
||||
- /usr/local/bin/docker pull hub.chagarlamudi.net/rc-portfolio:latest
|
||||
- /usr/local/bin/docker stop rc-portfolio-container || true # Stop the container if it exists
|
||||
- /usr/local/bin/docker rm rc-portfolio-container || true # Remove the container
|
||||
- /usr/local/bin/docker run -d -p 8080:80 --name rc-portfolio-container hub.chagarlamudi.net/rc-portfolio:latest # Start the container
|
||||
- /usr/local/bin/docker stop rc-portfolio-container || true # Stop the container if it exists
|
||||
- /usr/local/bin/docker rm rc-portfolio-container || true # Remove the container
|
||||
- /usr/local/bin/docker run -d -p 8080:80 --name rc-portfolio-container hub.chagarlamudi.net/rc-portfolio:latest # Start the container
|
||||
|
||||
when:
|
||||
branch:
|
||||
- main # Trigger this pipeline only for the main branch
|
||||
- main # Trigger this pipeline only for the main branch
|
||||
|
||||
Reference in New Issue
Block a user