Merge pull request #1 from neothor/add-docker-build-process

Add docker build github workflow
This commit is contained in:
neothor 2019-12-26 19:15:34 +01:00 committed by GitHub
commit 7bbea90f12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

29
.github/workflows/dockerimage.yml vendored Normal file
View file

@ -0,0 +1,29 @@
name: Docker Image CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Login to docker hub
if: success()
uses: actions-hub/docker/login@master
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
- name: Build image
if: success()
run: docker build -t neothor/steam-open-id:${IMAGE_TAG} .
- name: Push to docker registry
if: success()
uses: actions-hub/docker@master
with:
args: push neothor/steam-open-id:${IMAGE_TAG}