Deploy: Use GitHub Actions to push to Forgejo Registry
This commit is contained in:
parent
fa3fcc1b16
commit
a82b6cd418
2 changed files with 3 additions and 3 deletions
6
.github/workflows/docker-publish.yml
vendored
6
.github/workflows/docker-publish.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
BIN
backend-go/server-linux-amd64
Normal file
BIN
backend-go/server-linux-amd64
Normal file
Binary file not shown.
Loading…
Reference in a new issue