Skip to content

change scripts to use GHCR container and adjust README #3

change scripts to use GHCR container and adjust README

change scripts to use GHCR container and adjust README #3

Workflow file for this run

name: Build and publish image
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-and-publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Log in to ghcr
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push image
uses: docker/build-push-action@v5
with:
tags: ghcr.io/${{ github.repository }}:latest
context: .
file: Containerfile
push: true