ci: add docker build and push action
Build docker image / build-image (push) Successful in 6m29s Details

main
Benjamin Yule Bädorf 2024-02-22 17:21:22 +01:00
parent fbf4d739f5
commit 710a37dac3
Signed by: b12f
GPG Key ID: 729956E1124F8F26
1 changed files with 20 additions and 0 deletions

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