From 0dfa49dd943b10134ef03304276eda00d4dcf8b9 Mon Sep 17 00:00:00 2001 From: sst Date: Sun, 23 Mar 2025 17:41:54 +0000 Subject: [PATCH] Update .forgejo/workflows/build.yml --- .forgejo/workflows/build.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index d484e39..2f8b2c9 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -168,7 +168,8 @@ jobs: # with: # string: ${{ env.IMAGE_NAME }} - - name: Push To GHCR + + - name: Push To Registry uses: https://github.com/redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2 if: github.event_name != 'pull_request' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) id: push @@ -176,8 +177,12 @@ jobs: REGISTRY_USER: ${{ github.actor }} REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }} with: - registry: ${{ env.IMAGE_REGISTRY }} + registry: rievo.dev image: ${{ env.IMAGE_NAME }} + tags: ${{ steps.metadata.outputs.tags }} + username: ${{ env.REGISTRY_USER }} + password: ${{ env.REGISTRY_PASSWORD }} + # This section is optional and only needs to be enabled if you plan on distributing # your project for others to consume. You will need to create a public and private key