mirror of
https://github.com/vvzvlad/vestasync.git
synced 2024-12-25 03:31:01 +03:00
update docker_build
This commit is contained in:
parent
c28c504b98
commit
461ef038ea
5
.github/workflows/docker_build.yml
vendored
5
.github/workflows/docker_build.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user