From 5dbae29882b7857e72a3fbda15575ccdfd8ff946 Mon Sep 17 00:00:00 2001 From: Samarth Agarwal Date: Wed, 28 Apr 2021 15:29:37 -0400 Subject: [PATCH 1/2] Modified workflow to work for branch 'stable' instead of 'master'. --- .github/workflows/docker-publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 394ff4b22..e738b05ff 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -3,7 +3,7 @@ name: Docker on: push: branches: - - master + - stable # Publish `v1.2.3` tags as releases. tags: @@ -18,6 +18,7 @@ jobs: uses: actions/checkout@v2 with: submodules: recursive + ref: stable - name: Push to GitHub Packages uses: docker/build-push-action@v1 with: From a0a35aadd571fb9aded929dd4f1d420ebb02f344 Mon Sep 17 00:00:00 2001 From: Samarth Agarwal Date: Wed, 28 Apr 2021 16:23:22 -0400 Subject: [PATCH 2/2] Added 'tags: latest' --- .github/workflows/docker-publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index e738b05ff..f990b140a 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -27,4 +27,5 @@ jobs: registry: ghcr.io repository: candig/candig-katsu tag_with_ref: true + tags: latest dockerfile: Dockerfile