Trying CI again

main
shruub 2 years ago
parent 95a5a0b794
commit 87c746acf2

@ -0,0 +1,18 @@
---
kind: pipeline
type: docker
name: default
trigger:
branch:
- master
steps:
- name: docker
image: plugins/docker
settings:
registry: git.habedieeh.re
username: shruub
password:
from_secret: docker_pw
repo: "git.habedieeh.re/shruub/no-js.club"
dockerfile: Dockerfile
tags: latest

@ -1,6 +1,6 @@
FROM klakegg/hugo:0.107.0-onbuild AS hugo FROM klakegg/hugo:0.107.0-onbuild AS hugo
# Using nginx now because it's easier then darkhttpd. Might switch later, not sure though. # Using nginx now because it's easier than darkhttpd. Might switch later, not sure though.
FROM nginx FROM nginx
COPY --from=hugo /target /usr/share/nginx/html COPY --from=hugo /target /usr/share/nginx/html
Loading…
Cancel
Save