|
|
@@ -46,12 +46,16 @@ jobs:
|
|
|
images: |
|
|
|
zricethezav/gitleaks
|
|
|
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
|
|
+ tags: |
|
|
|
+ type=semver,pattern=v{{version}}
|
|
|
+ type=semver,pattern=v{{major}}
|
|
|
+ type=semver,pattern=v{{major}}.{{minor}}
|
|
|
|
|
|
- name: Build and push Docker image
|
|
|
uses: docker/build-push-action@e551b19e49efd4e98792db7592c17c09b89db8d8
|
|
|
with:
|
|
|
platforms: linux/amd64,linux/arm64
|
|
|
context: .
|
|
|
- push: true
|
|
|
+ push: false
|
|
|
tags: ${{ steps.meta.outputs.tags }}
|
|
|
labels: ${{ steps.meta.outputs.labels }}
|