Compare commits

...

17 commits

Author SHA1 Message Date
Nikurasu f6a081d199 Merge pull request 'feat-add-woodpecker' (#1) from feat-add-woodpecker into main
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #1
2024-03-18 13:42:55 +00:00
nikurasu 5e419045ed
fix(ci): add secrets
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-03-18 14:24:49 +01:00
nikurasu cfdbb66b96
fix(ci): docker login 2024-03-18 14:16:41 +01:00
nikurasu c717aace86
fix(ci): remove docker login 2024-03-18 14:10:31 +01:00
nikurasu 6713329a5e
fix(ci): add docker login 2024-03-18 14:00:02 +01:00
nikurasu 7470468077
feat(ci): add docker push test 2024-03-18 13:53:05 +01:00
nikurasu 9044b3bcad
fix(ci): add missing flags docker buildx 2024-03-18 13:41:39 +01:00
nikurasu 5bd9dce91e
fix(ci): added missing flag for cut 2024-03-18 13:39:40 +01:00
nikurasu 12e14cfc05
fix(ci): deleted sh uncompatible line 2024-03-18 13:37:51 +01:00
nikurasu 1ea4399765
feat(ci): Made ci sh compatible (hopefully^^) 2024-03-18 13:34:44 +01:00
nikurasu 991cb812da
feat(ci): Add build tags 2024-03-18 13:26:08 +01:00
nikurasu 9b77efe1d7
test(ci): 2024-03-16 15:52:25 +01:00
nikurasu aec670a903
test(ci): add git to image 2024-03-16 15:48:38 +01:00
nikurasu 1218f92133
test(ci): another syntax test 2024-03-16 15:45:13 +01:00
nikurasu 7c0986a005
test(ci): another syntax test 2024-03-16 15:42:49 +01:00
nikurasu ac01207283
test(ci): another syntax test 2024-03-16 15:37:04 +01:00
nikurasu ef169d682f
test(ci): syntax test 2024-03-16 15:33:04 +01:00
2 changed files with 20 additions and 1 deletions

19
.woodpecker.yml Normal file
View file

@ -0,0 +1,19 @@
steps:
- name: build docker
image: docker:25-cli
secrets: [user, pass]
commands:
- apk add git
- REPO=$(echo "$CI_REPO" | tr '[:upper:]' '[:lower:]')
- REGISTRY="dev.cat-enby.club"
- MAJOR=$(echo ${CI_COMMIT_TAG} | cut -d '.' -f 1 | tr -d 'v')
- MINOR=$(echo ${CI_COMMIT_TAG} | cut -d '.' -f 2)
- PATCH=$(echo ${CI_COMMIT_TAG} | cut -d '.' -f 3)
- docker buildx build -t $${REGISTRY}/$${REPO}:v$${MAJOR:-0}.$${MINOR:-0}.$${PATCH-0} -t $${REGISTRY}/$${REPO}:v$${MAJOR:-0}.$${MINOR} -t $${REGISTRY}/$$REPO:v$${MAJOR:-0} -t $${REGISTRY}/$$REPO:latest .
- docker login --username $USER --password $PASS $${REGISTRY}
- docker push $${REGISTRY}/$${REPO}:v$${MAJOR:-0}.$${MINOR:-0}.$${PATCH-0}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
when:
- repo: nikurasu:elk-test-ci
- event: tag

View file

@ -162,7 +162,7 @@ export default defineNuxtConfig({
// our default translation server #76
translateApi: '',
// Use the instance where Elk has its Mastodon account as the default
defaultServer: 'm.webtoo.ls',
defaultServer: 'sector25.de',
singleInstance: false,
},
storage: {