From 6c95b1d7159ff269ae6c9ebd3e6332acddb1bc32 Mon Sep 17 00:00:00 2001 From: Matthew Davis <38021615+mattdavis0351@users.noreply.github.com> Date: Tue, 5 May 2020 12:20:34 -0700 Subject: [PATCH 1/4] Update ci-workflow.yml --- .github/ci-workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ci-workflow.yml b/.github/ci-workflow.yml index 03a5d43..1c37ba7 100644 --- a/.github/ci-workflow.yml +++ b/.github/ci-workflow.yml @@ -22,7 +22,7 @@ jobs: strategy: matrix: os: [ubuntu-lastest, windows-2016] - node-version: [8.x, 10.x] + node-version: [10,12] steps: - uses: actions/checkout@v1 From ea136674d832285eea34f5ce8215ba54b76fa842 Mon Sep 17 00:00:00 2001 From: Matthew Davis <38021615+mattdavis0351@users.noreply.github.com> Date: Tue, 5 May 2020 12:21:17 -0700 Subject: [PATCH 2/4] Update ci-workflow.yml --- .github/ci-workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ci-workflow.yml b/.github/ci-workflow.yml index 1c37ba7..21428db 100644 --- a/.github/ci-workflow.yml +++ b/.github/ci-workflow.yml @@ -22,7 +22,7 @@ jobs: strategy: matrix: os: [ubuntu-lastest, windows-2016] - node-version: [10,12] + node-version: [10, 12] steps: - uses: actions/checkout@v1 From f61b3e4a8dc66dd23acc9c11f39d869625b5a584 Mon Sep 17 00:00:00 2001 From: Matthew Davis <38021615+mattdavis0351@users.noreply.github.com> Date: Tue, 5 May 2020 12:43:06 -0700 Subject: [PATCH 3/4] Update ci-workflow.yml --- .github/ci-workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ci-workflow.yml b/.github/ci-workflow.yml index 21428db..03a5d43 100644 --- a/.github/ci-workflow.yml +++ b/.github/ci-workflow.yml @@ -22,7 +22,7 @@ jobs: strategy: matrix: os: [ubuntu-lastest, windows-2016] - node-version: [10, 12] + node-version: [8.x, 10.x] steps: - uses: actions/checkout@v1 From 7495df47164f516f13a2fdc88db210cb21b93c53 Mon Sep 17 00:00:00 2001 From: franjo-torres <39371429+franjo-torres@users.noreply.github.com> Date: Thu, 18 Jun 2020 13:16:19 +0100 Subject: [PATCH 4/4] Update and rename ci-workflow.yml to cd-workflow.yml --- .../{ci-workflow.yml => cd-workflow.yml} | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) rename .github/workflows/{ci-workflow.yml => cd-workflow.yml} (68%) 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