Обновить .github/workflows/docker-publish.yml
Publish Docker image to GHCR / build-and-push (push) Failing after 47s
Publish Docker image to GHCR / build-and-push (push) Failing after 47s
This commit is contained in:
@@ -19,17 +19,17 @@ jobs:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Log in to GitHub Container Registry
|
||||
- name: Log in to Gitea Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
registry: gitea.viaproger.ru
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
password: ${{ secrets.registry_password }}
|
||||
|
||||
- name: Build Docker image
|
||||
run: |
|
||||
docker build -t ghcr.io/igorvolochay/my-image:latest .
|
||||
docker build -t gitea.viaproger.ru/${{ github.actor }}/my-image:latest .
|
||||
|
||||
- name: Push Docker image
|
||||
run: |
|
||||
docker push ghcr.io/igorvolochay/my-image:latest
|
||||
docker push gitea.viaproger.ru/${{ github.actor }}/my-image:latest
|
||||
|
||||
Reference in New Issue
Block a user