Compare commits
1 Commits
8dabc5e1c5
...
03aed856dd
Author | SHA1 | Date | |
---|---|---|---|
03aed856dd |
18
.drone.yml
18
.drone.yml
@ -41,9 +41,9 @@ steps:
|
|||||||
- docker images --format "{{.Repository}}:{{.Tag}}" | grep nginx-php:dev
|
- docker images --format "{{.Repository}}:{{.Tag}}" | grep nginx-php:dev
|
||||||
when:
|
when:
|
||||||
branch: develop
|
branch: develop
|
||||||
#event:
|
event:
|
||||||
#- pull_request
|
- pull_request
|
||||||
#- push
|
- push
|
||||||
volumes:
|
volumes:
|
||||||
- name: docker-sock
|
- name: docker-sock
|
||||||
path: /var/run
|
path: /var/run
|
||||||
@ -63,9 +63,7 @@ steps:
|
|||||||
- docker push docker.pbiernat.dev/nginx-php:dev
|
- docker push docker.pbiernat.dev/nginx-php:dev
|
||||||
when:
|
when:
|
||||||
branch: develop
|
branch: develop
|
||||||
#event:
|
event: push
|
||||||
#- pull_request
|
|
||||||
#- push
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: docker-sock
|
- name: docker-sock
|
||||||
path: /var/run
|
path: /var/run
|
||||||
@ -77,12 +75,8 @@ steps:
|
|||||||
- docker build -t docker.pbiernat.dev/nginx-php:$CI_COMMIT_BRANCH .
|
- docker build -t docker.pbiernat.dev/nginx-php:$CI_COMMIT_BRANCH .
|
||||||
- docker images --format "{{.Repository}}:{{.Tag}}" | grep nginx-php:${CI_COMMIT_BRANCH}
|
- docker images --format "{{.Repository}}:{{.Tag}}" | grep nginx-php:${CI_COMMIT_BRANCH}
|
||||||
when:
|
when:
|
||||||
branch:
|
branch: feature_*
|
||||||
- feature_*
|
event: push
|
||||||
- develop
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
- pull_request
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: docker-sock
|
- name: docker-sock
|
||||||
path: /var/run
|
path: /var/run
|
||||||
|
Loading…
Reference in New Issue
Block a user