feat(migration): add initial configuration files and Docker setup for Documize (#4)

Reviewed-on: #4
This commit was merged in pull request #4.
This commit is contained in:
2026-01-04 21:20:20 +00:00
parent 295ac208f6
commit d8aa3e0478
12 changed files with 239 additions and 7 deletions

View File

@@ -0,0 +1,5 @@
version = 1
[[analyzers]]
name = "docker"
enabled = true

View File

@@ -0,0 +1,17 @@
name: Build
on:
push:
branches: 'main'
jobs:
build:
name: GitHub Container Registry
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Login to GitHub Container Registry
run: echo ${{ secrets.PAT }} | docker login ghcr.io -u luketainton --password-stdin
- name: Build image for GitHub Container Registry
run: docker build . --file Dockerfile --tag ghcr.io/luketainton/documize:latest
- name: Push image to GitHub Container Registry
run: docker push ghcr.io/luketainton/documize:latest

5
.archive/.github/renovate.json vendored Normal file
View File

@@ -0,0 +1,5 @@
{
"extends": [
"config:base"
]
}

18
.archive/.gitlab-ci.yml Normal file
View File

@@ -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