From ca2eea14c4556bfa8a9ecae08488fef3241b7ded Mon Sep 17 00:00:00 2001 From: nomadics9 Date: Wed, 21 May 2025 03:44:43 +0300 Subject: [PATCH] push to my registry --- .forgejo/workflows/buildfin.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.forgejo/workflows/buildfin.yml b/.forgejo/workflows/buildfin.yml index 6b157a7..41134f0 100644 --- a/.forgejo/workflows/buildfin.yml +++ b/.forgejo/workflows/buildfin.yml @@ -34,3 +34,21 @@ jobs: push: true # Push the image to Docker Hub tags: | nomadics/alaskarfin:latest + + # Step 5: Log in to Forgejo + - name: Log in to Forgejo + uses: docker/login-action@v3 + with: + registry: git.askar.tv + username: nomad + password: ${{ secrets.FORGEJO_TOKEN }} + + # Step 4: Build and push the Docker image + - name: Build and Push Image + uses: docker/build-push-action@v6 + with: + context: alaskarfin # Path to the build context + file: alaskarfin/Dockerfile # Path to the Dockerfile + push: true # Push the image to Docker Hub + tags: | + git.askar.tv/nomad/alaskarfin:latest