Add github action for public to docker hub and updated

This commit is contained in:
2021-03-29 14:22:00 +07:00
parent 9d6bb5bc79
commit 5116a6051f
4 changed files with 40 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
name: CI
name: Docker CI Private
on:
push:

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

@@ -0,0 +1,28 @@
name: Docker CI Public
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