This commit is contained in:
parent
5b27dfe8d9
commit
c97c180e26
29
.drone.yml
Normal file
29
.drone.yml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
kind: pipeline
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build and publish docker image
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
storage_driver: vfs # required for Synology Docker
|
||||||
|
username:
|
||||||
|
from_secret: "Docker_Hub_Username"
|
||||||
|
password:
|
||||||
|
from_secret: "Docker_Hub_Token"
|
||||||
|
repo: rogersik/admin-helper
|
||||||
|
tags: latest
|
||||||
|
|
||||||
|
- name: notify
|
||||||
|
image: drillster/drone-email
|
||||||
|
settings:
|
||||||
|
host: mailcow.basecom.de
|
||||||
|
from:
|
||||||
|
from_secret: "Notifications_Address"
|
||||||
|
username:
|
||||||
|
from_secret: "Notifications_Address"
|
||||||
|
password:
|
||||||
|
from_secret: "Notifications_Address_Password"
|
||||||
|
recipients:
|
||||||
|
from_secret: "Notifications_Address_Recipients"
|
||||||
|
when:
|
||||||
|
status: [ failure ]
|
29
.github/workflows/docker-publish.yml
vendored
29
.github/workflows/docker-publish.yml
vendored
@ -1,29 +0,0 @@
|
|||||||
name: Publish Docker Image
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
schedule:
|
|
||||||
- cron: '0 7 * * SUN'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
docker:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
-
|
|
||||||
name: Login to DockerHub
|
|
||||||
uses: docker/login-action@v1
|
|
||||||
with:
|
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
||||||
-
|
|
||||||
name: Build and push
|
|
||||||
id: docker_build
|
|
||||||
uses: docker/build-push-action@v2
|
|
||||||
with:
|
|
||||||
push: true
|
|
||||||
tags: rogersik/admin-helper:latest
|
|
||||||
-
|
|
||||||
name: Image digest
|
|
||||||
run: echo ${{ steps.docker_build.outputs.digest }}
|
|
@ -1,4 +1,5 @@
|
|||||||
# admin-helper Container
|
# admin-helper Container
|
||||||
|
[![Build Status](https://drone.sikorski.cloud/api/badges/RogerSik/docker-admin-helper/status.svg)](https://drone.sikorski.cloud/RogerSik/docker-admin-helper)
|
||||||
|
|
||||||
This image is builded to easier maintain unusually docker container tasks.
|
This image is builded to easier maintain unusually docker container tasks.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user