misc: migrate to gitea
Some checks failed
Cargo Check / cargo-check (push) Successful in 35s
Cargo Format Check / cargo-fmt (push) Successful in 19s
Docker Image CI / build-and-push (push) Failing after 10s

This commit is contained in:
2026-04-30 23:52:27 -04:00
Unverified
parent 88624a3753
commit 259ca7c676
3 changed files with 3 additions and 3 deletions

View File

@@ -0,0 +1,39 @@
name: Docker Image CI
on:
workflow_dispatch:
push:
tags:
- 'v*'
jobs:
build-and-push:
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: git.abunchofknowitalls.com
username: ${{ gitea.actor }}
password: ${{ secrets.GITEA_TOKEN }}
- name: Extract metadata for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}