From 23d29f79d5a19b8ebd421c14ea9420dfecc07fc4 Mon Sep 17 00:00:00 2001 From: Neshura Date: Thu, 16 Nov 2023 18:27:54 +0000 Subject: [PATCH] Attempts to make this work --- .forgejo/workflows/build.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index aa73bbf..237728c 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -21,10 +21,18 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + - + name: Login to Docker Hub + uses: docker/login-action@v3 + with: + registry: forgejo.neshweb.net + username: ${{ secrets.FORGEJO_USERNAME }} + password: ${{ secrets.FORGEJO_TOKEN }} - name: Push to Package Registry uses: docker/build-push-action@v5 with: - context: . push: true - tags: https://forgejo.neshweb.net/Neshura/docker-dind-bash:latest \ No newline at end of file + secrets: | + GIT_AUTH_TOKEN=${{ secrets.FORGEJO_TOKEN }} + tags: Neshura/docker-dind-bash:latest \ No newline at end of file