update file 2
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
BryantHe 2023-07-10 13:13:50 +08:00
parent 97663dc942
commit c22fac8b81
1 changed files with 8 additions and 10 deletions

View File

@ -13,6 +13,10 @@ trigger:
branch: branch:
include: include:
- feature/* - feature/*
event:
include:
- push
- custom
clone: clone:
disable: true disable: true
@ -36,11 +40,6 @@ steps:
- docker-compose down - docker-compose down
- docker-compose up -d --build --force-recreate - docker-compose up -d --build --force-recreate
- docker image prune -f - docker image prune -f
when:
event:
include:
- push
- custom
--- ---
@ -56,6 +55,9 @@ trigger:
branch: branch:
include: include:
- develop - develop
event:
include:
- push
clone: clone:
disable: true disable: true
@ -79,10 +81,6 @@ steps:
- docker-compose down - docker-compose down
- docker-compose up -d --build --force-recreate - docker-compose up -d --build --force-recreate
- docker image prune -f - docker image prune -f
when:
event:
include:
- push
--- ---
@ -161,7 +159,7 @@ steps:
image: plugins/docker image: plugins/docker
settings: settings:
registry: registry:
from_secret: Œ from_secret: docker_registry
username: username:
from_secret: docker_username from_secret: docker_username
password: password: