obs-portal/.forgejo/workflows/build-image.yml
Benjamin Yule Bädorf 710a37dac3
All checks were successful
Build docker image / build-image (push) Successful in 6m29s
ci: add docker build and push action
2024-02-22 17:35:35 +01:00

21 lines
539 B
YAML

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