Обновить .github/workflows/docker-publish.yml
Publish Docker image to GHCR / build (push) Successful in 38s
Publish Docker image to GHCR / push (push) Failing after 4s

This commit is contained in:
2026-07-23 13:21:38 +00:00
parent 020c4ed5bc
commit 770e7d441f
+5 -1
View File
@@ -8,7 +8,7 @@ on:
types: [published] types: [published]
jobs: jobs:
build-and-push: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
@@ -30,6 +30,10 @@ jobs:
run: | run: |
docker build -t gitea.viaproger.ru/${{ github.actor }}/my-image:latest . docker build -t gitea.viaproger.ru/${{ github.actor }}/my-image:latest .
push:
needs: build
runs-on: ubuntu-latest
steps:
- name: Push Docker image - name: Push Docker image
run: | run: |
docker push gitea.viaproger.ru/${{ github.actor }}/my-image:latest docker push gitea.viaproger.ru/${{ github.actor }}/my-image:latest