Tags
This commit is contained in:
parent
89470252e7
commit
1e0a82eade
@ -1,5 +1,6 @@
|
||||
stages:
|
||||
- test
|
||||
- deploy
|
||||
|
||||
unitTest:
|
||||
image: edbizarro/gitlab-ci-pipeline-php:7.4-alpine
|
||||
@ -17,3 +18,11 @@ unitTest:
|
||||
junit:
|
||||
- phpunit-report.xml
|
||||
coverage: '/^\s*Lines:\s*\d+.\d+\%/'
|
||||
|
||||
composerPublish:
|
||||
image: curlimages/curl:latest
|
||||
only:
|
||||
- tags
|
||||
stage: deploy
|
||||
script:
|
||||
- curl --data "tag=${CI_COMMIT_TAG}" "http://__token__:${CI_JOB_TOKEN}@gitlab/api/v4/projects/${CI_PROJECT_ID}/packages/composer"
|
Loading…
x
Reference in New Issue
Block a user