diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/cd-workflow.yml similarity index 68% rename from .github/workflows/ci-workflow.yml rename to .github/workflows/cd-workflow.yml index 883d6cc..f0aa2aa 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/cd-workflow.yml @@ -1,7 +1,7 @@ # This file wont do us much good in this location, make sure you change the path as directed to continue! -name: Node CI - +name: Docker CD +yaml name: Docker CD on: push: # branches-ignore: @@ -47,3 +47,21 @@ jobs: npm test env: CI: true +Build-and-Push-Docker-Image: + runs-on: ubuntu-latest + needs: test + name: Docker Build, Tag, Push + + steps: + - name: Checkout + uses: actions/checkout@v1 + - name: Download built artifact + uses: actions/download-artifact@master + with: + name: webpack artifacts + path: public + - name: Build, Tag, Push + uses: mattdavis0351/actions/docker-gpr@v1.3.0 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + image-name: tic-tac-toe