mirror of
https://github.com/byo-software/steam-openid-connect-provider.git
synced 2025-01-09 18:06:22 +00:00
Merge pull request #1 from neothor/add-docker-build-process
Add docker build github workflow
This commit is contained in:
commit
7bbea90f12
1 changed files with 29 additions and 0 deletions
29
.github/workflows/dockerimage.yml
vendored
Normal file
29
.github/workflows/dockerimage.yml
vendored
Normal 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}
|
Loading…
Reference in a new issue