trying to congifure ci not to push to container registry when not on main branch
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d10b29efbf
commit
9ef70798fe
@ -41,6 +41,9 @@ steps:
|
|||||||
- docker build -t $REGISTRY/$OWNER/$IMAGE:$TAG .
|
- docker build -t $REGISTRY/$OWNER/$IMAGE:$TAG .
|
||||||
|
|
||||||
- name: container publish
|
- name: container publish
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
image: registry.gitlab.com/role_unit/role_unit_containers:build
|
image: registry.gitlab.com/role_unit/role_unit_containers:build
|
||||||
privileged: true
|
privileged: true
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user