Task: Add OpenJDK 11 with GitHub Workflows Build and Publish DockerHub

This commit is contained in:
2021-07-14 21:24:52 +07:00
commit 1b3c8bf026
13 changed files with 251 additions and 0 deletions

27
.github/workflows/docker.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: CI
on:
push:
branches:
- 'main'
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Setup 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