Add license and fix CI configuration to push to latest Docker tag tagged image.

This commit is contained in:
Stanislav Nikitin 2021-09-28 13:15:40 +05:00
parent 87db0eac84
commit 0018c79b89
Signed by: pztrn
GPG Key ID: 1E944A0F0568B550
3 changed files with 15 additions and 2 deletions

View File

@ -38,7 +38,7 @@ build_master_image:
- apk add --no-cache git bash
- scripts/get_version.sh generate
- docker login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY}
- docker build --pull -t ${REGISTRY_IMAGE_LATEST} --build-arg CI_COMMIT_TAG=${CI_COMMIT_TAG} --build-arg CI_COMMIT_REF_NAME=${CI_COMMIT_REF_NAME} --build-arg CI_COMMIT_SHA=${CI_COMMIT_SHA} --build-arg CI_PROJECT_NAME=${CI_PROJECT_NAME} .
- docker build --pull -t ${REGISTRY_IMAGE_LATEST} .
- docker push ${REGISTRY_IMAGE_LATEST}
build_tag_image:
@ -52,5 +52,7 @@ build_tag_image:
- apk add --no-cache git bash
- scripts/get_version.sh generate
- docker login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY}
- docker build -t ${REGISTRY_IMAGE_TAGGED} --build-arg CI_COMMIT_TAG=${CI_COMMIT_TAG} --build-arg CI_COMMIT_REF_NAME=${CI_COMMIT_REF_NAME} --build-arg CI_COMMIT_SHA=${CI_COMMIT_SHA} --build-arg CI_PROJECT_NAME=${CI_PROJECT_NAME} .
- docker build -t ${REGISTRY_IMAGE_TAGGED} .
- docker build -t ${REGISTRY_IMAGE_LATEST} .
- docker push ${REGISTRY_IMAGE_TAGGED}
- docker push ${REGISTRY_IMAGE_LATEST}

View File

@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Added
- Added license information. We're on MIT.
## [0.1.0] - 2021-09-29
- Initial release with ability to create issues on Gitlab (both hosted and self-hosted).

7
LICENSE Normal file
View File

@ -0,0 +1,7 @@
Copyright 2021, Stanislav N. aka pztrn and Periodicator developers.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.