fix: use GIT_AUTH_TOKEN to authenticate
All checks were successful
Build docker image / build-image (push) Successful in 1m21s

This commit is contained in:
teutat3s 2023-12-28 23:12:18 +01:00
parent b6a2955c81
commit bace7b8018
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -7,8 +7,14 @@ jobs:
container: container:
image: catthehacker/ubuntu:act-latest image: catthehacker/ubuntu:act-latest
steps: 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 - name: Build and push
uses: docker/build-push-action@v4 uses: docker/build-push-action@v5.1.0
with: with:
push: true push: true
tags: git.pub.solar/pub-solar/actions-base-image:20-bookworm tags: git.pub.solar/pub-solar/actions-base-image:20-bookworm