mirror of
https://github.com/maxkratz/docker_imapgrab.git
synced 2024-05-18 20:00:17 +00:00
Adds GitHub Actions CI config
This commit is contained in:
parent
4d2b4115c5
commit
cab4dca21d
22
.drone.yml
22
.drone.yml
|
@ -1,22 +0,0 @@
|
|||
kind: pipeline
|
||||
name: default
|
||||
|
||||
auth: &auth
|
||||
username:
|
||||
from_secret: dockerhub_username
|
||||
password:
|
||||
from_secret: dockerhub_password
|
||||
|
||||
repo: &repo
|
||||
repo: maxkratz/imapgrab
|
||||
|
||||
steps:
|
||||
- name: build-latest
|
||||
image: plugins/docker
|
||||
settings:
|
||||
<<: *repo
|
||||
tags: latest
|
||||
<<: *auth
|
||||
when:
|
||||
branch:
|
||||
- main
|
31
.github/workflows/build.yml
vendored
Normal file
31
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
name: Build Docker images
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
- 'testing/**'
|
||||
- 'feature/**'
|
||||
- 'hotfix/**'
|
||||
|
||||
jobs:
|
||||
build-latest:
|
||||
runs-on: [ubuntu-22.04]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- name: Build latest
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: .
|
||||
push: ${{ github.event_name == 'push' && contains(github.ref, 'refs/heads/main') && github.event_name != 'schedule' }}
|
||||
tags: maxkratz/imapgrab:latest
|
||||
platforms: linux/amd64
|
|
@ -1,6 +1,6 @@
|
|||
# docker_imapgrab
|
||||
|
||||
[![Build Status](https://github.ci.maxkratz.com/api/badges/maxkratz/docker_imapgrab/status.svg)](https://github.ci.maxkratz.com/maxkratz/docker_imapgrab)
|
||||
[![Build Docker images](https://github.com/maxkratz/docker_imapgrab/actions/workflows/build.yml/badge.svg)](https://github.com/maxkratz/docker_imapgrab/actions/workflows/build.yml)
|
||||
|
||||
*Unofficial* imapgrab Dockerfile for backing up all folders of an imap server.
|
||||
|
||||
|
@ -37,10 +37,10 @@ Creates a backup of all files and folders of the mailbox **user@example.net** wi
|
|||
|
||||
## Dockerfile
|
||||
The Dockerfile can be found at:
|
||||
[https://github.com/maxkratz/docker_imapgrab/blob/master/Dockerfile](https://github.com/maxkratz/docker_imapgrab/blob/master/Dockerfile)
|
||||
[https://github.com/maxkratz/docker_imapgrab/blob/main/Dockerfile](https://github.com/maxkratz/docker_imapgrab/blob/main/Dockerfile)
|
||||
|
||||
## What gets installed in this container?
|
||||
The following packages are installed within this docker container:
|
||||
|
||||
* Some utility packages like git, curl, getmail etc.
|
||||
* [IMAPbackup by ralbear](https://github.com/ralbear/IMAPbackup) (thats the whole point ...)
|
||||
* [IMAPbackup by ralbear](https://github.com/ralbear/IMAPbackup) (thats the whole point ...)
|
||||
|
|
Loading…
Reference in a new issue