Compare commits

...

13 Commits
dev ... master

Author SHA1 Message Date
cda9cc8322
fix dockerfile
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-11-30 14:20:57 +01:00
db4e05f1b7
fix dockerfile
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-11-30 14:09:44 +01:00
0bc211e884
fix dockerfile
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-11-30 14:04:18 +01:00
90161e0b9a
ta
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-11-30 13:49:46 +01:00
422d19a32b
te
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-11-30 13:45:51 +01:00
4fc33519de
aa
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-11-30 12:53:15 +01:00
1acf2e4353
fuck wrong thing
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-11-30 12:18:06 +01:00
838a22b3c0
last test
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-11-30 12:14:49 +01:00
a7f56fc2de
tes
Some checks failed
ci/woodpecker/tag/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline failed
2022-11-30 00:07:35 +01:00
baced8531f
come on
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/tag/woodpecker Pipeline was successful
2022-11-29 23:57:41 +01:00
5e8359d358
Test6Tag
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/tag/woodpecker Pipeline was successful
2022-11-29 23:55:33 +01:00
f38c52ba02
Test5Tag
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/tag/woodpecker Pipeline was successful
2022-11-29 23:50:11 +01:00
7c933fc9a1
Test4
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-11-29 23:40:33 +01:00
5 changed files with 15 additions and 13 deletions

View File

@ -1,7 +1,7 @@
pipeline:
build:
when:
event: [push, pull_request]
event: [push, pull_request, tag]
image: golang:1.19.3-alpine
commands:
- go mod download
@ -12,23 +12,25 @@ pipeline:
event: [push]
image: plugins/docker
settings:
repo: odyssey/gothub
registry: git.projectsegfau.lt
repo: git.projectsegfau.lt/midou/gothub
username:
from_secret: docker_user
from_secret: user
password:
from_secret: docker_passwd
from_secret: passwd
# password = key or actual password
auto_tag: true
tags: latest
dockerize-dev:
when:
event: [push]
branch: [dev]
image: plugins/docker
settings:
repo: odyssey/gothub
registry: git.projectsegfau.lt
repo: git.projectsegfau.lt/midou/gothub
username:
from_secret: docker_user
from_secret: user
password:
from_secret: docker_passwd
from_secret: passwd
# password = key or actual password
tags: dev

View File

@ -1,7 +1,7 @@
FROM golang:1.19.3-alpine
FROM alpine:latest
WORKDIR /gothub
COPY . .
RUN go mod download
RUN go build .
COPY ./gothub .
COPY ./public/ ./public/
COPY ./views/ ./views/
CMD ["/bin/sh", "-c", "./gothub"]
EXPOSE 3000

0
aaa Normal file
View File

View File

@ -36,7 +36,7 @@ func main() {
app := fiber.New(fiber.Config{
Views: engine,
Prefork: true,
Prefork: false,
AppName: "GotHub",
ErrorHandler: func(ctx *fiber.Ctx, err error) error {
code := fiber.StatusInternalServerError

0
wahmen Normal file
View File