1
0
Fork 0

ci: Fix Docker tagging

pull/12/head v0.1.1
Ambrose Chua 2021-11-16 21:47:03 +08:00
parent 927fb90f44
commit b5dacbc9bf
1 changed files with 5 additions and 0 deletions

View File

@ -36,6 +36,11 @@ jobs:
uses: docker/metadata-action@v3
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
id: meta
- name: Build and push Docker images