Add build pipeline.
This commit is contained in:
19
.drone.yml
Normal file
19
.drone.yml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
kind: pipeline
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build container
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
username:
|
||||||
|
from_secret: registry-username
|
||||||
|
password:
|
||||||
|
from_secret: registry-password
|
||||||
|
registry: https://cs-registry.ddnss.de
|
||||||
|
repo: cs-registry.ddnss.de/${DRONE_REPO_OWNER}/au-website
|
||||||
|
dry_run: false
|
||||||
|
purge: true
|
||||||
|
insecure: false
|
||||||
|
tags:
|
||||||
|
- ${DRONE_TAG}
|
||||||
3
Dockerfile
Normal file
3
Dockerfile
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
FROM httpd:alpine3.19
|
||||||
|
|
||||||
|
COPY . /usr/local/apache2/htdocs/
|
||||||
Reference in New Issue
Block a user