Skip to content

Commit

Permalink
gha-1115
Browse files Browse the repository at this point in the history
  • Loading branch information
halkeye committed Nov 4, 2024
1 parent 3a7fae3 commit 19db2bc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
# Publish `master` as Docker `latest` image.
branches:
- master
- gha-1115

# Publish `v1.2.3` tags as releases.
tags:
Expand Down Expand Up @@ -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]')
}}
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit 19db2bc

Please sign in to comment.