Create docker-publish.yml

This commit is contained in:
Sambo Chea 2021-03-29 13:59:59 +07:00 committed by GitHub
parent c07e22ea8a
commit 02d7bdfd7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

28
.github/workflows/docker-publish.yml vendored Normal file
View File

@ -0,0 +1,28 @@
name: Docker CI
on:
push:
branches:
- 'master'
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_SECRET }}
-
name: Checkout
uses: actions/checkout@v2
-
name: Build and Push from Makefile
run: |
make build