From bace7b801884cf5cf0ddc0d1d091ce96e9cd1f81 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Thu, 28 Dec 2023 23:12:18 +0100 Subject: [PATCH] fix: use GIT_AUTH_TOKEN to authenticate --- .forgejo/workflows/build-image.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/build-image.yml b/.forgejo/workflows/build-image.yml index 0906d19..04eb2b4 100644 --- a/.forgejo/workflows/build-image.yml +++ b/.forgejo/workflows/build-image.yml @@ -7,8 +7,14 @@ jobs: 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@v4 + uses: docker/build-push-action@v5.1.0 with: push: true tags: git.pub.solar/pub-solar/actions-base-image:20-bookworm