mirror of
https://github.com/mr-vercetti/mr.vercetti.cc.git
synced 2025-01-18 08:45:34 +01:00
Add drone config
This commit is contained in:
parent
e5699b6054
commit
6d7781fade
25
.drone.yml
Normal file
25
.drone.yml
Normal file
@ -0,0 +1,25 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: plugins/git
|
||||
settings:
|
||||
recursive: true
|
||||
- name: lint
|
||||
image: hadolint/hadolint:latest-debian
|
||||
commands:
|
||||
- hadolint Dockerfile --no-fail
|
||||
- name: build and publish
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
from_secret: DOCKER_USERNAME
|
||||
password:
|
||||
from_secret: DOCKER_PASSWORD
|
||||
repo: mrvercetti/mrvercetticc
|
||||
tags: ${DRONE_COMMIT_SHA:0:8}, latest
|
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -1,3 +1,3 @@
|
||||
[submodule "website/themes/d3c3nt"]
|
||||
path = website/themes/d3c3nt
|
||||
url = git@github.com:mr-vercetti/d3c3nt.git
|
||||
url = git://git.figbert.com/d3c3nt.git
|
||||
|
@ -1,6 +1,6 @@
|
||||
FROM alpine as builder
|
||||
|
||||
COPY ./website /home
|
||||
COPY ./website /home/website
|
||||
|
||||
WORKDIR /home/website
|
||||
RUN apk add zola --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ && \
|
||||
|
Loading…
Reference in New Issue
Block a user