From 0018c79b89c7fbff98e47205ce7acf008fe008ae Mon Sep 17 00:00:00 2001 From: "Stanislav N. aka pztrn" Date: Tue, 28 Sep 2021 13:15:40 +0500 Subject: [PATCH] Add license and fix CI configuration to push to latest Docker tag tagged image. --- .gitlab-ci.yml | 6 ++++-- CHANGELOG.md | 4 ++++ LICENSE | 7 +++++++ 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 LICENSE diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 11564ec..a063c78 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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} diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b2db6e..8e39132 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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). diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..e550cd1 --- /dev/null +++ b/LICENSE @@ -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.