Add docker-based compilation actions

This commit is contained in:
Carsten Teibes
2020-06-18 03:31:57 +02:00
parent 8ccb8fe870
commit 2734075909
3 changed files with 65 additions and 0 deletions

24
.github/workflows/docker.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: CI-Docker
on:
push:
branches:
- master
repository_dispatch:
types: [run_build]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: ${{ env.GITHUB_REPOSITORY }}
tags: latest
tag_with_ref: true
add_git_labels: true