ci(lightwalletd): Zebra's Dockerfile needs `latest` lwd image (#4599)

We need to add this condtion to lightwalletd docker build, to always create a `latest` tag when merging to the default branch: `main`
This commit is contained in:
Gustavo Valverde 2022-06-13 17:38:18 -04:00 committed by GitHub
parent 64ac9e4cc2
commit 3ec6bd4c29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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