Обновить .github/workflows/docker-publish.yml
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user