pizzabot/.gitlab-ci.yml

30 lines
507 B
YAML
Raw Normal View History

2019-07-28 19:09:46 +00:00
image: dock.mau.dev/maubot/maubot
stages:
- build
variables:
PYTHONPATH: /opt/maubot
build:
stage: build
except:
- tags
script:
- python3 -m maubot.cli build -o xyz.maubot.$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA.mbp
artifacts:
paths:
- "*.mbp"
2021-11-28 13:35:30 +00:00
expire_in: 365 days
2019-07-28 19:09:46 +00:00
build tags:
stage: build
only:
- tags
script:
- python3 -m maubot.cli build -o xyz.maubot.$CI_PROJECT_NAME-$CI_COMMIT_TAG.mbp
artifacts:
paths:
- "*.mbp"
2021-11-28 13:35:30 +00:00
expire_in: never