From 10e21060e050f43c3caa89ff930920670008bf2f Mon Sep 17 00:00:00 2001 From: Alexander Date: Wed, 29 May 2024 14:32:51 +0200 Subject: [PATCH] Update git build to build testnet pushes (#22) * feat: update git build to build testnet pushes --- .github/workflows/docker-build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 13a778b..c9ecab3 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -4,11 +4,13 @@ on: push: branches: - 'main' + - 'testnet' tags: - 'v*' pull_request: branches: - 'main' + - 'testnet' jobs: build: @@ -31,8 +33,9 @@ jobs: type=raw,value=latest,enable={{is_default_branch}} type=ref,event=branch type=ref,event=pr - type=semver,pattern={{version}} - type=semver,pattern={{major}}.{{minor}} + type=semver,pattern=v{{version}} + type=semver,pattern=v{{major}} + type=semver,pattern=v{{major}}.{{minor}} - name: Login to Docker Hub uses: docker/login-action@v3