Signed-off-by: Odyssey <odyssey346@disroot.org>
このコミットが含まれているのは:
Odyssey 2022-12-03 20:04:26 +01:00
コミット 3cf5032bc9

ファイルの表示

@ -1,38 +0,0 @@
pipeline:
build:
when:
event: [push, pull_request, tag]
image: golang:1.19.3-alpine
commands:
- go mod download
- go build -ldflags "-X codeberg.org/gothub/gothub/pages.Version=${CI_COMMIT_SHA:0:8}"
dockerize:
when:
branch: [main, master]
event: [push]
image: plugins/docker
settings:
registry: codeberg.org
repo: codeberg.org/gothub/gothub
username:
from_secret: user
password:
from_secret: passwd
# password = key or actual password
tags: latest
dockerfile: Dockerfile
dockerize-dev:
when:
event: [push]
branch: [dev]
image: plugins/docker
settings:
registry: codeberg.org
repo: codeberg.org/gothub/gothub
username:
from_secret: user
password:
from_secret: passwd
# password = key or actual password
tags: ${CI_COMMIT_SHA:0:8}