CI: set image tag as latest if built on master branch

This commit is contained in:
liushuyu 2023-09-06 20:47:15 -06:00
parent e466025a1e
commit c9bf9398ec
No known key found for this signature in database
GPG key ID: 23D1CE4534419437

View file

@ -30,6 +30,7 @@ jobs:
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY_IMAGE }}
tags: type=raw,value=latest,enable={{is_default_branch}}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker BuildX