You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

32 lines
838 B

pipeline:
test install:
image: python:3.11-alpine
commands:
- pip3 install --default-timeout=100 -r requirements.txt
when:
event:
- push
release tag:
image: node
secrets:
- source: git_auth
target: git_credentials
commands:
- yarn global add semantic-release @semantic-release/git @semantic-release/changelog @semantic-release/exec
- yarn exec semantic-release
when:
branch:
- master
- dev
event:
- push
publish docker image:
image: gcr.io/kaniko-project/executor:v1.9.1-debug
commands:
- /kaniko/executor
--context .
--dockerfile Dockerfile
--destination "registry.container-registry.svc.cluster.local:5000/mcpanda/summertime:${CI_COMMIT_TAG##v}"
when:
event:
- tag