add drone config and Dockerfile
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
062564a9f8
commit
c827c946b4
18
.drone.yml
Normal file
18
.drone.yml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
kind: pipeline
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: docker
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
repo: ulovliglogning/ulovliglogning.dk
|
||||||
|
username:
|
||||||
|
from_secret: DOCKER_USERNAME
|
||||||
|
password:
|
||||||
|
from_secret: DOCKER_PASSWORD
|
||||||
|
tags:
|
||||||
|
- "${DRONE_BUILD_NUMBER}"
|
||||||
|
- "latest"
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
8
Dockerfile
Normal file
8
Dockerfile
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
FROM jekyll/jekyll:3.7 AS jekyll
|
||||||
|
#ADD ./.gem-cache/bundle /usr/local/bundle
|
||||||
|
ADD . /srv/jekyll
|
||||||
|
RUN jekyll build --strict_front_matter
|
||||||
|
|
||||||
|
FROM php:7.4.1-apache
|
||||||
|
RUN a2enmod rewrite
|
||||||
|
COPY --from=jekyll /srv/jekyll/_site /var/www/html
|
Loading…
Reference in a new issue