Skip to content

0.0.1-pre4

0.0.1-pre4 #9

Workflow file for this run

name: Publish Release
on:
release:
types:
- published
jobs:
cms-oauth:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
sparse-checkout: |
github-oauth
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: ./github-oauth
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/rickli-cloud/cms-oauth:${{ github.ref_name }}