update docker_build

This commit is contained in:
vvzvlad 2023-04-17 22:48:33 +07:00
parent c28c504b98
commit 461ef038ea

View File

@ -1,6 +1,7 @@
name: Build and Publish Docker Image
on:
workflow_dispatch:
push:
branches:
- master
@ -10,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
@ -22,7 +23,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: .
push: true