1
0
Fork 0

ci: Fix Docker tagging

pull/20/head
Ambrose Chua 2021-11-16 21:46:18 +08:00 committed by GitHub
parent 2a51a5e357
commit 39155e627f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -34,6 +34,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