Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Allow publishing manually #20

Allow publishing manually

Allow publishing manually #20

Workflow file for this run

name: Publish Docker image
on:
push:
branches:
- main
workflow_dispatch:
env:
REGISTRY: ghcr.io
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ github.token }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
push: true
tags: ${{ env.REGISTRY }}/${{ github.repository }}