steam-openid-connect-provider/.github/workflows/docker-image.yml

35 lines
681 B
YAML
Raw Normal View History

2021-05-24 03:05:01 +00:00
name: Docker Image CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
2021-05-24 03:16:53 +00:00
-
name: Checkout
uses: actions/checkout@v2
-
name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v2
with:
context: src/
push: true
tags: ghcr.io/neothor/steam-openid-connect-provider:$(date +%s)