push to my registry

This commit is contained in:
nomadics9 2025-05-21 03:44:43 +03:00
parent 3248229ae6
commit ca2eea14c4
No known key found for this signature in database

View file

@ -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