diff --git a/.github/CONTRIBUTING.md b/.github-archive/.github/CONTRIBUTING.md similarity index 100% rename from .github/CONTRIBUTING.md rename to .github-archive/.github/CONTRIBUTING.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github-archive/.github/ISSUE_TEMPLATE/bug_report.md similarity index 100% rename from .github/ISSUE_TEMPLATE/bug_report.md rename to .github-archive/.github/ISSUE_TEMPLATE/bug_report.md diff --git a/.github/ISSUE_TEMPLATE/document_issue.md b/.github-archive/.github/ISSUE_TEMPLATE/document_issue.md similarity index 100% rename from .github/ISSUE_TEMPLATE/document_issue.md rename to .github-archive/.github/ISSUE_TEMPLATE/document_issue.md diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github-archive/.github/ISSUE_TEMPLATE/feature_request.md similarity index 100% rename from .github/ISSUE_TEMPLATE/feature_request.md rename to .github-archive/.github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/issue-branch.yml b/.github-archive/.github/issue-branch.yml similarity index 100% rename from .github/issue-branch.yml rename to .github-archive/.github/issue-branch.yml diff --git a/.github/pull_request_template.md b/.github-archive/.github/pull_request_template.md similarity index 100% rename from .github/pull_request_template.md rename to .github-archive/.github/pull_request_template.md diff --git a/.github/workflows/autobranch.yml b/.github-archive/.github/workflows/autobranch.yml similarity index 100% rename from .github/workflows/autobranch.yml rename to .github-archive/.github/workflows/autobranch.yml diff --git a/.github/workflows/build.yml b/.github-archive/.github/workflows/build.yml similarity index 100% rename from .github/workflows/build.yml rename to .github-archive/.github/workflows/build.yml diff --git a/.github/workflows/greetings.yml b/.github-archive/.github/workflows/greetings.yml similarity index 100% rename from .github/workflows/greetings.yml rename to .github-archive/.github/workflows/greetings.yml diff --git a/.github/workflows/stale.yml b/.github-archive/.github/workflows/stale.yml similarity index 100% rename from .github/workflows/stale.yml rename to .github-archive/.github/workflows/stale.yml diff --git a/renovate.json b/.github-archive/renovate.json similarity index 100% rename from renovate.json rename to .github-archive/renovate.json diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..70062e0 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,18 @@ +stages: +- build + +build: + stage: build + only: + - tags + image: docker:19.03.12 + services: + - docker:19.03.12-dind + variables: + IMAGE_TAG: "$CI_REGISTRY_IMAGE:$CI_COMMIT_TAG" + script: + - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY + - docker build -t $CI_REGISTRY_IMAGE:latest -t $IMAGE_TAG . + - docker build -t $IMAGE_TAG -t $CI_REGISTRY_IMAGE:latest . + - docker push $IMAGE_TAG + - docker push $CI_REGISTRY_IMAGE:latest