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}