Migrate CI to Forgejo Actions

This commit is contained in:
Marko Korhonen 2024-02-24 15:29:04 +02:00
parent 72b25e2b0e
commit 5aa05eeec6
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
3 changed files with 18 additions and 13 deletions

View file

@ -0,0 +1,18 @@
on: [push]
jobs:
build_image:
runs-on: docker
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker registry (Forgejo)
uses: docker/login-action@v3
with:
registry: git.korhonen.cc
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push image
uses: docker/build-push-action@v5
with:
push: true
tags: git.korhonen.cc/functionalhacker/hugo-asciidoc-docker-ci:latest