1
0
Fork 0

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
1 changed files with 1 additions and 0 deletions

View File

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