mirror of
https://github.com/byo-software/steam-openid-connect-provider.git
synced 2025-01-09 18:06:22 +00:00
Login into GitHub and push 🤞
This commit is contained in:
parent
d6fd51cb56
commit
a3f58dc59b
1 changed files with 19 additions and 3 deletions
22
.github/workflows/docker-image.yml
vendored
22
.github/workflows/docker-image.yml
vendored
|
@ -13,6 +13,22 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
-
|
||||||
- name: Build the Docker image
|
name: Checkout
|
||||||
run: docker build src/ --file src/Dockerfile --tag "ghcr.io/neothor/steam-openid-connect-provider:$(date +%s)"
|
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)
|
||||||
|
|
Loading…
Reference in a new issue