Explorar el Código

testing out adding more labels for docker releases

Zach Rice hace 3 años
padre
commit
6492389e99
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5 1
      .github/workflows/release.yml

+ 5 - 1
.github/workflows/release.yml

@@ -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 }}