ci: add docker build and push action
All checks were successful
Build docker image / build-image (push) Successful in 6m29s

This commit is contained in:
Benjamin Yule Bädorf 2024-02-22 17:21:22 +01:00
parent fbf4d739f5
commit 710a37dac3
Signed by: b12f
GPG key ID: 729956E1124F8F26

View file

@ -0,0 +1,20 @@
name: Build docker image
on: [push]
jobs:
build-image:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: Login to Forgejo docker registry
uses: docker/login-action@v3.0.0
with:
registry: git.pub.solar
username: hakkonaut
password: ${{ secrets.GIT_AUTH_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5.1.0
with:
push: true
tags: git.pub.solar/pub-solar/obs-portal:latest