Обновить .github/workflows/docker-publish.yml
This commit is contained in:
@@ -8,7 +8,7 @@ on:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
@@ -30,6 +30,10 @@ jobs:
|
||||
run: |
|
||||
docker build -t gitea.viaproger.ru/${{ github.actor }}/my-image:latest .
|
||||
|
||||
push:
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Push Docker image
|
||||
run: |
|
||||
docker push gitea.viaproger.ru/${{ github.actor }}/my-image:latest
|
||||
|
||||
Reference in New Issue
Block a user