change port
This commit is contained in:
@@ -4,6 +4,8 @@ steps:
|
||||
commands:
|
||||
- pip install -r requirements.txt
|
||||
- pytest -q
|
||||
when:
|
||||
event: [push, manual]
|
||||
|
||||
build:
|
||||
image: "docker:27-cli"
|
||||
@@ -14,6 +16,8 @@ steps:
|
||||
IMAGE: "flask-demo:latest"
|
||||
commands:
|
||||
- docker build -t "$IMAGE" .
|
||||
when:
|
||||
event: [push, manual]
|
||||
|
||||
deploy:
|
||||
image: "docker:27-cli"
|
||||
@@ -23,7 +27,7 @@ steps:
|
||||
commands:
|
||||
- docker compose up -d
|
||||
when:
|
||||
event: [push]
|
||||
event: [push, manual]
|
||||
branch: [main]
|
||||
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user