Add initial configuration files and Docker setup for Documize
This commit is contained in:
5
.archive/.deepsource.toml
Normal file
5
.archive/.deepsource.toml
Normal file
@@ -0,0 +1,5 @@
|
||||
version = 1
|
||||
|
||||
[[analyzers]]
|
||||
name = "docker"
|
||||
enabled = true
|
||||
17
.archive/.github/.github/workflows/build.yml
vendored
Normal file
17
.archive/.github/.github/workflows/build.yml
vendored
Normal 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
5
.archive/.github/renovate.json
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"extends": [
|
||||
"config:base"
|
||||
]
|
||||
}
|
||||
18
.archive/.gitlab-ci.yml
Normal file
18
.archive/.gitlab-ci.yml
Normal 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
|
||||
Reference in New Issue
Block a user