mirror of
https://github.com/werkraum-media/events.git
synced 2024-11-24 15:56:09 +01:00
Add deployment to package registry
This commit is contained in:
parent
5cfbe11167
commit
9814e8dac9
1 changed files with 10 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
stages:
|
||||
- validate
|
||||
- test
|
||||
- deploy
|
||||
|
||||
before_script:
|
||||
- apk add zip graphicsmagick
|
||||
|
@ -143,3 +144,12 @@ test:phpunit:7.2:
|
|||
script:
|
||||
- composer install --prefer-dist --no-progress
|
||||
- php -d memory_limit=-1 ./vendor/bin/phpunit --testdox
|
||||
|
||||
deploy:composer:package:
|
||||
image: alpine:3.15.5
|
||||
stage: deploy
|
||||
script:
|
||||
- apk add curl
|
||||
- 'curl --header "Job-Token: $CI_JOB_TOKEN" --data tag=${CI_COMMIT_TAG} "${CI_API_V4_URL}/projects/$CI_PROJECT_ID/packages/composer"'
|
||||
only:
|
||||
- tags
|
Loading…
Reference in a new issue