Login into GitHub and push 🤞

This commit is contained in:
Mark Ettema 2021-05-24 10:16:53 +07:00 committed by GitHub
parent d6fd51cb56
commit a3f58dc59b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)