actions-base-image/.forgejo/workflows/build-image.yml
teutat3s bace7b8018
All checks were successful
Build docker image / build-image (push) Successful in 1m21s
fix: use GIT_AUTH_TOKEN to authenticate
2023-12-28 23:12:18 +01:00

21 lines
552 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/actions-base-image:20-bookworm