Skip to content

Release

Release #43

Workflow file for this run

name: Release
on:
push:
# branches:
# - main
tags:
- v*
workflow_dispatch:
permissions:
contents: read
packages: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Log in to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GHCR_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: |
ghcr.io/front-matter/rogue-scholar-api:latest
ghcr.io/front-matter/rogue-scholar-api:${{ github.sha }}