From 9520e24348f15e836358f7656f8a1f844da385e8 Mon Sep 17 00:00:00 2001 From: leukosaima <187358+leukosaima@users.noreply.github.com> Date: Sun, 14 Jan 2024 11:36:29 -0500 Subject: [PATCH 1/3] fix whitespace issue in workflow --- .github/workflows/docker-cicd.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-cicd.yml b/.github/workflows/docker-cicd.yml index 123c1693..cee2bf81 100644 --- a/.github/workflows/docker-cicd.yml +++ b/.github/workflows/docker-cicd.yml @@ -60,13 +60,11 @@ jobs: - name: Tag image with run id run: - docker tag nsgcr/netrunner-cards-json \ - registry.digitalocean.com/nsgcr/netrunner-cards-json:${{ github.run_id }} + docker tag nsgcr/netrunner-cards-json registry.digitalocean.com/nsgcr/netrunner-cards-json:${{ github.run_id }} - name: Tag image with latest run: - docker tag nsgcr/netrunner-cards-json \ - registry.digitalocean.com/nsgcr/netrunner-cards-json:latest + docker tag nsgcr/netrunner-cards-json registry.digitalocean.com/nsgcr/netrunner-cards-json:latest - name: Push run id tag to DO Container Registry run: docker push registry.digitalocean.com/nsgcr/netrunner-cards-json:${{ github.run_id }} From f7adc0f460cc14532cc2544bad09a797ac72beac Mon Sep 17 00:00:00 2001 From: leukosaima <187358+leukosaima@users.noreply.github.com> Date: Sun, 14 Jan 2024 11:44:05 -0500 Subject: [PATCH 2/3] Update docker-cicd.yml --- .github/workflows/docker-cicd.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docker-cicd.yml b/.github/workflows/docker-cicd.yml index cee2bf81..92906ce4 100644 --- a/.github/workflows/docker-cicd.yml +++ b/.github/workflows/docker-cicd.yml @@ -1,6 +1,7 @@ name: docker-cicd on: + pull_request: push: branches: - main From 6d2bbb5afe599ef01dc7c4f80285c50a8b9a86e5 Mon Sep 17 00:00:00 2001 From: leukosaima <187358+leukosaima@users.noreply.github.com> Date: Sun, 14 Jan 2024 11:48:42 -0500 Subject: [PATCH 3/3] Remove test --- .github/workflows/docker-cicd.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/docker-cicd.yml b/.github/workflows/docker-cicd.yml index 92906ce4..cee2bf81 100644 --- a/.github/workflows/docker-cicd.yml +++ b/.github/workflows/docker-cicd.yml @@ -1,7 +1,6 @@ name: docker-cicd on: - pull_request: push: branches: - main