Added docker workflows

This commit is contained in:
Henry Whitaker
2020-08-15 17:37:26 +01:00
parent 2e68abf665
commit 489e47f729
3 changed files with 48 additions and 0 deletions

16
.github/workflows/docker-image-dev.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: Docker Dev
on:
push:
branches: [ dev-docker ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)

16
.github/workflows/docker-image-pr.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: DockerPR
on:
pull_request:
branches: [ docker, dev-docker, alpha-docker ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)

View File

@@ -0,0 +1,16 @@
name: Docker Stable
on:
push:
branches: [ docker ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)