[New Feature] CICD Implementation for build and testing OpenDBM in all platforms

This commit is contained in:
Rudy Haryanto
2022-10-04 02:19:07 +07:00
parent a574bc6870
commit 67618c66bc
18 changed files with 857 additions and 1 deletions

View File

@@ -0,0 +1,31 @@
name: CI-Dockerhub-upload-template
on:
workflow_dispatch:
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
# -
# name: Docker build & push
# run: |
# docker pull dbm-test2
# docker image tag dbm-test2 ${{ secrets.DOCKERHUB_USERNAME }}/dbm-openface:latest
# docker push ${{ secrets.DOCKERHUB_USERNAME }}/dbm-openface:latest