not anymore

Signed-off-by: Odyssey <odyssey346@disroot.org>
This commit is contained in:
Odyssey
2022-12-03 20:04:26 +01:00
parent 4bedc5adb7
commit 3cf5032bc9
-38
View File
@@ -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}