mirror of
https://github.com/byo-software/steam-openid-connect-provider.git
synced 2025-01-10 10:26:23 +00:00
29 lines
No EOL
612 B
YAML
29 lines
No EOL
612 B
YAML
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} |