first commit
This commit is contained in:
commit
3ed60d7260
20
.drone.yml
Normal file
20
.drone.yml
Normal file
@ -0,0 +1,20 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: build docker image
|
||||
image: plugins/docker
|
||||
settings:
|
||||
purge: true
|
||||
autotag: true
|
||||
repo: docker.mtfos.xyz/nginx
|
||||
registry: docker.mtfos.xyz
|
||||
tags:
|
||||
- latest
|
||||
- "${DRONE_COMMIT}"
|
||||
when:
|
||||
ref:
|
||||
- refs/heads/master
|
||||
- refs/tags/**
|
3
Dockerfile
Normal file
3
Dockerfile
Normal file
@ -0,0 +1,3 @@
|
||||
FROM nginx:alpine
|
||||
WORKDIR /var/www
|
||||
RUN apk add --no-cache shadow && usermod -u 1000 nginx && groupmod -g 1000 nginx
|
Loading…
Reference in New Issue
Block a user