From 38008f0460e1d0d09469127bf1947fb612dc3063 Mon Sep 17 00:00:00 2001 From: Nicolas Giard Date: Sun, 18 Aug 2019 20:07:00 -0400 Subject: [PATCH] misc: github actions CI test --- .github/workflows/dockerimage.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml index 82e3df42..515f6737 100644 --- a/.github/workflows/dockerimage.yml +++ b/.github/workflows/dockerimage.yml @@ -2,7 +2,8 @@ name: Docker Image CI on: push: - branches: [master] + branches: + - master jobs: @@ -16,3 +17,12 @@ jobs: - uses: actions/checkout@v1 - name: Build the Docker image run: docker build . --file dev/build/Dockerfile -t requarks/wiki:dev + + - name: Login to Docker Hub + run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} + + - name: Push to Docker Hub + run: docker push requarks/wiki:dev + + - name: Logout from Docker Hub + run: docker logout