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

This commit is contained in:
n0vember 2024-03-12 02:05:52 +01:00
parent d10b29efbf
commit 9ef70798fe
No known key found for this signature in database
GPG Key ID: 8ECF21687C8F8994

View File

@ -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: