You've already forked postfixadmin-fetchmail-docker
Compare commits
7 Commits
c37d202e25
...
v0.2.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
0f84feeb5f
|
|||
|
4ec1a2311b
|
|||
|
16f30737f2
|
|||
|
c33ffca552
|
|||
|
25b57f99be
|
|||
| 163eb5c4ea | |||
| 0cb5db3c50 |
111
.drone.yml
111
.drone.yml
@@ -13,8 +13,8 @@ steps:
|
|||||||
image: docker.io/volkerraschek/markdownlint:0.31.1
|
image: docker.io/volkerraschek/markdownlint:0.31.1
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 50
|
cpu: 150
|
||||||
memory: 50M
|
memory: 150M
|
||||||
|
|
||||||
- name: email-notification
|
- name: email-notification
|
||||||
environment:
|
environment:
|
||||||
@@ -29,8 +29,8 @@ steps:
|
|||||||
image: docker.io/drillster/drone-email:latest
|
image: docker.io/drillster/drone-email:latest
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 50
|
cpu: 150
|
||||||
memory: 25M
|
memory: 150M
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- changed
|
- changed
|
||||||
@@ -52,7 +52,7 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: plugins/docker
|
image: docker.io/plugins/docker:latest
|
||||||
settings:
|
settings:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
auto_tag: false
|
auto_tag: false
|
||||||
@@ -69,7 +69,7 @@ steps:
|
|||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
|
|
||||||
- name: notify
|
- name: notify
|
||||||
image: drillster/drone-email
|
image: docker.io/drillster/drone-email:latest
|
||||||
environment:
|
environment:
|
||||||
PLUGIN_HOST:
|
PLUGIN_HOST:
|
||||||
from_secret: smtp_host
|
from_secret: smtp_host
|
||||||
@@ -113,7 +113,7 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: plugins/docker
|
image: docker.io/plugins/docker:latest
|
||||||
settings:
|
settings:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
auto_tag: false
|
auto_tag: false
|
||||||
@@ -127,7 +127,7 @@ steps:
|
|||||||
no_cache: true
|
no_cache: true
|
||||||
|
|
||||||
- name: notify
|
- name: notify
|
||||||
image: drillster/drone-email
|
image: docker.io/drillster/drone-email:latest
|
||||||
environment:
|
environment:
|
||||||
PLUGIN_HOST:
|
PLUGIN_HOST:
|
||||||
from_secret: smtp_host
|
from_secret: smtp_host
|
||||||
@@ -174,7 +174,7 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: plugins/docker
|
image: docker.io/plugins/docker:latest
|
||||||
settings:
|
settings:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
auto_tag: false
|
auto_tag: false
|
||||||
@@ -188,7 +188,7 @@ steps:
|
|||||||
no_cache: true
|
no_cache: true
|
||||||
|
|
||||||
- name: notify
|
- name: notify
|
||||||
image: drillster/drone-email
|
image: docker.io/drillster/drone-email:latest
|
||||||
environment:
|
environment:
|
||||||
PLUGIN_HOST:
|
PLUGIN_HOST:
|
||||||
from_secret: smtp_host
|
from_secret: smtp_host
|
||||||
@@ -235,7 +235,7 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: plugins/docker
|
image: docker.io/plugins/docker:latest
|
||||||
settings:
|
settings:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
auto_tag: false
|
auto_tag: false
|
||||||
@@ -251,7 +251,7 @@ steps:
|
|||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
|
|
||||||
- name: notify
|
- name: notify
|
||||||
image: drillster/drone-email
|
image: docker.io/drillster/drone-email:latest
|
||||||
environment:
|
environment:
|
||||||
PLUGIN_HOST:
|
PLUGIN_HOST:
|
||||||
from_secret: smtp_host
|
from_secret: smtp_host
|
||||||
@@ -294,7 +294,7 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: plugins/docker
|
image: docker.io/plugins/docker:latest
|
||||||
settings:
|
settings:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
auto_tag: false
|
auto_tag: false
|
||||||
@@ -307,7 +307,7 @@ steps:
|
|||||||
no_cache: true
|
no_cache: true
|
||||||
|
|
||||||
- name: notify
|
- name: notify
|
||||||
image: drillster/drone-email
|
image: docker.io/drillster/drone-email:latest
|
||||||
environment:
|
environment:
|
||||||
PLUGIN_HOST:
|
PLUGIN_HOST:
|
||||||
from_secret: smtp_host
|
from_secret: smtp_host
|
||||||
@@ -353,7 +353,7 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: plugins/docker
|
image: docker.io/plugins/docker:latest
|
||||||
settings:
|
settings:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
auto_tag: false
|
auto_tag: false
|
||||||
@@ -366,7 +366,7 @@ steps:
|
|||||||
no_cache: true
|
no_cache: true
|
||||||
|
|
||||||
- name: notify
|
- name: notify
|
||||||
image: drillster/drone-email
|
image: docker.io/drillster/drone-email:latest
|
||||||
environment:
|
environment:
|
||||||
PLUGIN_HOST:
|
PLUGIN_HOST:
|
||||||
from_secret: smtp_host
|
from_secret: smtp_host
|
||||||
@@ -408,7 +408,7 @@ name: latest-manifest
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build-manifest
|
- name: build-manifest
|
||||||
image: plugins/manifest
|
image: docker.io/plugins/manifest:latest
|
||||||
settings:
|
settings:
|
||||||
auto_tag: false
|
auto_tag: false
|
||||||
ignore_missing: true
|
ignore_missing: true
|
||||||
@@ -431,8 +431,8 @@ steps:
|
|||||||
from_secret: smtp_mail_address
|
from_secret: smtp_mail_address
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 50
|
cpu: 150
|
||||||
memory: 25M
|
memory: 150M
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- changed
|
- changed
|
||||||
@@ -463,7 +463,7 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: plugins/docker
|
image: docker.io/plugins/docker:latest
|
||||||
settings:
|
settings:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
@@ -479,7 +479,7 @@ steps:
|
|||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
|
|
||||||
- name: notify
|
- name: notify
|
||||||
image: drillster/drone-email
|
image: docker.io/drillster/drone-email:latest
|
||||||
environment:
|
environment:
|
||||||
PLUGIN_HOST:
|
PLUGIN_HOST:
|
||||||
from_secret: smtp_host
|
from_secret: smtp_host
|
||||||
@@ -516,7 +516,7 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: plugins/docker
|
image: docker.io/plugins/docker:latest
|
||||||
settings:
|
settings:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
@@ -532,7 +532,7 @@ steps:
|
|||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
|
|
||||||
- name: notify
|
- name: notify
|
||||||
image: drillster/drone-email
|
image: docker.io/drillster/drone-email:latest
|
||||||
environment:
|
environment:
|
||||||
PLUGIN_HOST:
|
PLUGIN_HOST:
|
||||||
from_secret: smtp_host
|
from_secret: smtp_host
|
||||||
@@ -569,7 +569,7 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: plugins/docker
|
image: docker.io/plugins/docker:latest
|
||||||
settings:
|
settings:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
@@ -585,7 +585,7 @@ steps:
|
|||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
|
|
||||||
- name: notify
|
- name: notify
|
||||||
image: drillster/drone-email
|
image: docker.io/drillster/drone-email:latest
|
||||||
environment:
|
environment:
|
||||||
PLUGIN_HOST:
|
PLUGIN_HOST:
|
||||||
from_secret: smtp_host
|
from_secret: smtp_host
|
||||||
@@ -618,7 +618,7 @@ name: tagged-manifest
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build-manifest
|
- name: build-manifest
|
||||||
image: plugins/manifest
|
image: docker.io/plugins/manifest:latest
|
||||||
settings:
|
settings:
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
ignore_missing: true
|
ignore_missing: true
|
||||||
@@ -641,8 +641,8 @@ steps:
|
|||||||
from_secret: smtp_mail_address
|
from_secret: smtp_mail_address
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 50
|
cpu: 150
|
||||||
memory: 25M
|
memory: 150M
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- changed
|
- changed
|
||||||
@@ -658,58 +658,3 @@ trigger:
|
|||||||
- tag
|
- tag
|
||||||
repo:
|
repo:
|
||||||
- volker.raschek/postfixadmin-fetchmail-docker
|
- volker.raschek/postfixadmin-fetchmail-docker
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: kubernetes
|
|
||||||
name: sync
|
|
||||||
|
|
||||||
platform:
|
|
||||||
os: linux
|
|
||||||
arch: amd64
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: github
|
|
||||||
image: docker.io/appleboy/drone-git-push:latest
|
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
cpu: 50
|
|
||||||
memory: 25M
|
|
||||||
settings:
|
|
||||||
branch: master
|
|
||||||
remote: ssh://git@github.com/volker-raschek/postfixadmin-fetchmail-docker.git
|
|
||||||
force: true
|
|
||||||
ssh_key:
|
|
||||||
from_secret: ssh_key
|
|
||||||
|
|
||||||
- name: email-notification
|
|
||||||
environment:
|
|
||||||
PLUGIN_HOST:
|
|
||||||
from_secret: smtp_host
|
|
||||||
PLUGIN_USERNAME:
|
|
||||||
from_secret: smtp_username
|
|
||||||
PLUGIN_PASSWORD:
|
|
||||||
from_secret: smtp_password
|
|
||||||
PLUGIN_FROM:
|
|
||||||
from_secret: smtp_mail_address
|
|
||||||
image: docker.io/drillster/drone-email:latest
|
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
cpu: 50
|
|
||||||
memory: 25M
|
|
||||||
when:
|
|
||||||
status:
|
|
||||||
- changed
|
|
||||||
- failure
|
|
||||||
|
|
||||||
depends_on:
|
|
||||||
- latest-manifest
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
- master
|
|
||||||
event:
|
|
||||||
- cron
|
|
||||||
- push
|
|
||||||
repo:
|
|
||||||
- volker.raschek/postfixadmin-fetchmail-docker
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM docker.io/library/alpine:3.15.3
|
FROM docker.io/library/alpine:3.16.0
|
||||||
|
|
||||||
RUN echo "http://dl-3.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories
|
RUN echo "http://dl-3.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories
|
||||||
RUN apk upgrade
|
RUN apk upgrade
|
||||||
|
|||||||
@@ -11,3 +11,4 @@ services:
|
|||||||
- DATABASE_PORT=${DATABASE_PORT}
|
- DATABASE_PORT=${DATABASE_PORT}
|
||||||
- DATABASE_NAME=${DATABASE_NAME}
|
- DATABASE_NAME=${DATABASE_NAME}
|
||||||
network_mode: host
|
network_mode: host
|
||||||
|
privileged: true
|
||||||
|
|||||||
Reference in New Issue
Block a user