2023-12-28 17:29:38 +00:00
|
|
|
name: Build docker image
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build-image:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
|
|
|
image: catthehacker/ubuntu:act-latest
|
|
|
|
steps:
|
2023-12-28 22:12:18 +00:00
|
|
|
- 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 }}
|
2023-12-28 17:29:38 +00:00
|
|
|
- name: Build and push
|
2023-12-28 22:12:18 +00:00
|
|
|
uses: docker/build-push-action@v5.1.0
|
2023-12-28 17:29:38 +00:00
|
|
|
with:
|
|
|
|
push: true
|
|
|
|
tags: git.pub.solar/pub-solar/actions-base-image:20-bookworm
|