From ba4ced6bb5779525fc5d9e1a78a7f7f3c7cc3df2 Mon Sep 17 00:00:00 2001 From: Gustavo Valverde Date: Mon, 13 Jun 2022 16:42:02 -0400 Subject: [PATCH] ci(lightwalletd): Zebra's Dockerfile needs `latest` lwd image We need to add this condtion to lightwalletd docker build, to always create a `latest` tag when merging to the default branch: `main` --- .github/workflows/zcash-lightwalletd.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/zcash-lightwalletd.yml b/.github/workflows/zcash-lightwalletd.yml index ebd8ce1ffc6..e75e2d791fa 100644 --- a/.github/workflows/zcash-lightwalletd.yml +++ b/.github/workflows/zcash-lightwalletd.yml @@ -73,6 +73,7 @@ jobs: images: | ${{ env.GAR_BASE }}/${{ env.IMAGE_NAME }} # generate Docker tags based on the following events/attributes + # set latest tag for default branch tags: | type=schedule type=ref,event=branch @@ -81,6 +82,7 @@ jobs: type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} type=sha + type=raw,value=latest,enable={{is_default_branch}} - name: Set up QEMU id: qemu