Add drone config

This commit is contained in:
mr-vercetti 2022-12-06 13:39:27 +01:00
parent e5699b6054
commit 6d7781fade
4 changed files with 29 additions and 2 deletions

25
.drone.yml Normal file
View 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
View File

@ -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

View File

@ -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/ && \

View File

@ -1,2 +1,4 @@
# mr.vercetti.cc
This repository contains my personal website files.