update pipeline
This commit is contained in:
@@ -50,7 +50,7 @@ gobuild:
|
|||||||
image: registry.internal.durp.info/golang:1.22
|
image: registry.internal.durp.info/golang:1.22
|
||||||
variables:
|
variables:
|
||||||
GOPROXY: https://nexus.durp.info/repository/go/
|
GOPROXY: https://nexus.durp.info/repository/go/
|
||||||
extends: .golang-build-api
|
extends: .golang-build
|
||||||
stage: build
|
stage: build
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
@@ -76,5 +76,17 @@ publish:
|
|||||||
- $OCTO_PROJECT_NAME
|
- $OCTO_PROJECT_NAME
|
||||||
- when: never
|
- when: never
|
||||||
|
|
||||||
deploy_prod:
|
publish:
|
||||||
extends: .gitlab-deploy
|
extends: .octo_release
|
||||||
|
stage: publish
|
||||||
|
needs:
|
||||||
|
- job: version
|
||||||
|
artifacts: true
|
||||||
|
rules:
|
||||||
|
- if: $CI_COMMIT_BRANCH =~ '/^release/'
|
||||||
|
exists:
|
||||||
|
- $OCTO_PROJECT_NAME
|
||||||
|
- if: $CI_COMMIT_BRANCH =~ 'main'
|
||||||
|
exists:
|
||||||
|
- $OCTO_PROJECT_NAME
|
||||||
|
- when: never
|
||||||
|
|||||||
Reference in New Issue
Block a user