generated from Templates/Baseline
wip
This commit is contained in:
parent
fb740de161
commit
a8b87c99a7
|
@ -0,0 +1,69 @@
|
||||||
|
when:
|
||||||
|
- event: [pull_request, tag, cron]
|
||||||
|
- event: push
|
||||||
|
branch:
|
||||||
|
- ${CI_REPO_DEFAULT_BRANCH}
|
||||||
|
|
||||||
|
variables:
|
||||||
|
- &build_plugin 'woodpeckerci/plugin-docker-buildx:3.2.1'
|
||||||
|
# deployment targets
|
||||||
|
- &publish_repos 'ocram85/arkanum-docs,gitea.ocram85.com/codeserver/arkanum-docs'
|
||||||
|
# logins for deployment targets
|
||||||
|
- publish_logins: &publish_logins
|
||||||
|
# Default DockerHub login
|
||||||
|
- registry: https://index.docker.io/v1/
|
||||||
|
username:
|
||||||
|
from_secret: docker_user
|
||||||
|
password:
|
||||||
|
from_secret: docker_passwd
|
||||||
|
# Additional Quay.IO login
|
||||||
|
- registry: https://gitea.ocram85.com
|
||||||
|
username:
|
||||||
|
from_secret: gitea_user
|
||||||
|
password:
|
||||||
|
from_secret: gitea_passwd
|
||||||
|
steps:
|
||||||
|
test:
|
||||||
|
image: *build_plugin
|
||||||
|
settings:
|
||||||
|
dry_run: true
|
||||||
|
registry: gitea.ocram85.com
|
||||||
|
repo: test
|
||||||
|
dockerfile: Dockerfile.vitepress
|
||||||
|
platforms: linux/amd64
|
||||||
|
auto_tag: true
|
||||||
|
build_args:
|
||||||
|
- VERSION=${CI_COMMIT_TAG:-PR ${CI_COMMIT_PULL_REQUEST}}
|
||||||
|
- TAG=${CI_COMMIT_TAG}
|
||||||
|
when:
|
||||||
|
event: pull_request
|
||||||
|
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||||
|
|
||||||
|
publish:
|
||||||
|
image: *build_plugin
|
||||||
|
settings:
|
||||||
|
repo: *publish_repos
|
||||||
|
dockerfile: Dockerfile.vitepress
|
||||||
|
platforms: linux/amd64
|
||||||
|
auto_tag: true
|
||||||
|
logins: *publish_logins
|
||||||
|
build_args:
|
||||||
|
- VERSION=${CI_COMMIT_TAG:-PR ${CI_COMMIT_PULL_REQUEST}}
|
||||||
|
- TAG=${CI_COMMIT_TAG}
|
||||||
|
when:
|
||||||
|
event: [push, tag, cron]
|
||||||
|
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||||
|
|
||||||
|
build-next:
|
||||||
|
image: *build_plugin
|
||||||
|
settings:
|
||||||
|
repo: *publish_repos
|
||||||
|
dockerfile: Dockerfile.vitepress
|
||||||
|
platforms: linux/amd64
|
||||||
|
tag: next
|
||||||
|
logins: *publish_logins
|
||||||
|
build_args:
|
||||||
|
- VERSION=${CI_COMMIT_TAG:-PR ${CI_COMMIT_PULL_REQUEST}}
|
||||||
|
- TAG=${CI_COMMIT_TAG}
|
||||||
|
when:
|
||||||
|
event: [pull_request]
|
|
@ -2,8 +2,7 @@
|
||||||
|
|
||||||
## About
|
## About
|
||||||
|
|
||||||
|
## Referenced Source Files
|
||||||
## Configuration
|
|
||||||
|
|
||||||
::: code-group
|
::: code-group
|
||||||
<<< @/../Dockerfile#cli{Dockerfile}
|
<<< @/../Dockerfile#cli{Dockerfile}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# FiraCode
|
# FiraCode
|
||||||
|
|
||||||
## Configuration
|
## Referenced Source Files
|
||||||
|
|
||||||
::: code-group
|
::: code-group
|
||||||
<<< @/../Dockerfile#firacode{Dockerfile}
|
<<< @/../Dockerfile#firacode{Dockerfile}
|
||||||
|
|
|
@ -45,7 +45,7 @@ There are also some [Phabricator](https://en.wikipedia.org/wiki/Phabricator) wor
|
||||||
|
|
||||||
Git bash completion is already enabled in the arkanum image.
|
Git bash completion is already enabled in the arkanum image.
|
||||||
|
|
||||||
## Configuration
|
## Referenced Source Files
|
||||||
|
|
||||||
::: code-group
|
::: code-group
|
||||||
<<< @/../Dockerfile#git{Dockerfile:line-numbers}
|
<<< @/../Dockerfile#git{Dockerfile:line-numbers}
|
||||||
|
|
|
@ -20,7 +20,7 @@ The included default setup uses the system wide installed [NerdFont](https://www
|
||||||
|
|
||||||
![screen5](./prompts/prompt5.png 'git rep with golang project and open workspace changes')
|
![screen5](./prompts/prompt5.png 'git rep with golang project and open workspace changes')
|
||||||
|
|
||||||
## Configuration
|
## Referenced Source Files
|
||||||
|
|
||||||
::: code-group
|
::: code-group
|
||||||
<<< @/../Dockerfile#starship{Dockerfile:line-numbers}
|
<<< @/../Dockerfile#starship{Dockerfile:line-numbers}
|
||||||
|
|
|
@ -33,7 +33,7 @@ Adds [One Dark Pro](https://open-vsx.org/extension/zhuangtongfa/material-theme)
|
||||||
|
|
||||||
Adds [vscode-icons](https://open-vsx.org/extension/vscode-icons-team/vscode-icons) extension as default icon theme.
|
Adds [vscode-icons](https://open-vsx.org/extension/vscode-icons-team/vscode-icons) extension as default icon theme.
|
||||||
|
|
||||||
## Configuration
|
## Referenced Source Filesq
|
||||||
|
|
||||||
::: code-group
|
::: code-group
|
||||||
|
|
||||||
|
|
|
@ -8,9 +8,9 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/bun": "latest",
|
"@types/bun": "latest",
|
||||||
"prettier": "^3.1.1",
|
"prettier": "^3.2.5",
|
||||||
"rimraf": "^5.0.5",
|
"rimraf": "^5.0.5",
|
||||||
"vitepress": "^1.0.0-rc.44"
|
"vitepress": "^1.1.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"typescript": "^5.0.0"
|
"typescript": "^5.0.0"
|
||||||
|
|
Loading…
Reference in New Issue