Deploy: Use GitHub Actions to push to Forgejo Registry

This commit is contained in:
Khoa Vo 2026-02-07 22:46:19 +07:00
parent fa3fcc1b16
commit a82b6cd418
2 changed files with 3 additions and 3 deletions

View file

@ -19,12 +19,12 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to the Container registry
- name: Log in to Forgejo Registry
uses: docker/login-action@v3
with:
registry: git.khoavo.myds.me
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
username: vndangkhoa
password: ${{ secrets.FORGEJO_TOKEN || 'Thieugia19' }} # Fallback to provided password if secret not set
- name: Build and push Docker image
uses: docker/build-push-action@v5

Binary file not shown.