setup GitHub action for automatic build of Docker container

as requested in https://github.com/schlagmichdoch/PairDrop/issues/22
This commit is contained in:
schlagmichdoch 2023-02-12 02:37:53 +01:00 committed by GitHub
parent 70874ee192
commit 6b7e1bba54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

18
.github/workflows/docker-image.yml vendored Normal file
View file

@ -0,0 +1,18 @@
name: Docker Image CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . -f Dockerfile -t pairdrop