CI: set image tag as latest if built on master branch
This commit is contained in:
parent
e466025a1e
commit
c9bf9398ec
|
@ -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
|
||||||
|
|
Reference in New Issue