From 6e2eeddbb56274c4e19a247d6ab69805db578d77 Mon Sep 17 00:00:00 2001 From: Serubin Date: Thu, 21 Mar 2024 20:56:36 -0400 Subject: [PATCH] Update build workflow again --- .github/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c77abd6..5b73227 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -35,8 +35,8 @@ jobs: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | type=semver,pattern={{version}} - type=sha,enable=true,priority=100,prefix=,suffix=,format=short,enable=${{ github.ref == format('refs/heads/{0}', 'master') }} - type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }} + type=schedule,pattern={{date 'YY.M.D'}},prefix=v,suffix={{branch}} + type=raw,value=latest,enable={{is_default_branch}} - name: Build and push Docker image uses: docker/build-push-action@v5.1.0