new-infofer-scraper/.github/workflows/build-image.yml
Dan Cojocaru 7b13d09514
A whole C# rewrite
In one commit.
Yes, you're seeing it right.
Yes, I don't know what I was thinking.
2022-08-03 00:38:53 +03:00

24 lines
660 B
YAML

name: Build Docker image
on:
push:
branches:
- master
jobs:
push_to_ghcr:
name: Push to ghcr.io
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Publish
uses: docker/build-push-action@v2
with:
context: .
tags: ${{ format('ghcr.io/{0}/new_infofer_scraper:latest', github.actor) }}
push: true