From 19db2bc01d2373e65866864447540519397ded20 Mon Sep 17 00:00:00 2001 From: Gavin Mogan Date: Sun, 3 Nov 2024 20:06:37 -0800 Subject: [PATCH] gha-1115 --- .github/workflows/package.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/package.yaml b/.github/workflows/package.yaml index d19a02fb2..39249a25c 100644 --- a/.github/workflows/package.yaml +++ b/.github/workflows/package.yaml @@ -5,6 +5,7 @@ on: # Publish `master` as Docker `latest` image. branches: - master + - gha-1115 # Publish `v1.2.3` tags as releases. tags: @@ -193,7 +194,8 @@ jobs: contents: read if: ${{ - github.ref == 'refs/heads/master' + ( github.ref == 'refs/heads/master' || + github.ref == 'refs/heads/gha-1115' ) && !contains(github.event.head_commit.message, '[DEV]') && !contains(github.event.head_commit.message, '[DOCS]') }} @@ -252,6 +254,7 @@ jobs: [[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//') # Use Docker `latest` tag convention [ "$VERSION" == "master" ] && VERSION=latest + [ "$VERSION" == "gha-1115" ] && VERSION=latest echo VERSION=${VERSION} echo ::set-output name=VERSION::${VERSION}