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