Skip to content

Commit

Permalink
Fixes [stage]
Browse files Browse the repository at this point in the history
  • Loading branch information
crschnick committed Sep 18, 2024
1 parent 93aca67 commit 4ab784b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
echo "XPIPE_REPOSITORY=$XPIPE_REPOSITORY" >> $GITHUB_ENV
XPIPE_PACKAGE=${{ contains(github.event.head_commit.message, '[release]') == true && 'xpipe' || 'xpipe-ptb' }}
echo "XPIPE_PACKAGE=$XPIPE_PACKAGE" >> $GITHUB_ENV
XPIPE_TAG=${{ contains(github.event.head_commit.message, '[release]') == true && 'main' || 'ptb' }}
echo "XPIPE_TAG=$XPIPE_TAG" >> $GITHUB_ENV
- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
Expand All @@ -46,7 +48,9 @@ jobs:
org.opencontainers.image.authors=xpipe.io
org.opencontainers.image.documentation=https://github.com/xpipe-io/xpipe-webtop
flavor: |
latest=true
latest=${{ contains(github.event.head_commit.message, '[release]') == true }}
tags: |
type=raw,value=${{ env.XPIPE_TAG }}
- name: Build and push Docker image
id: push
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
Expand Down

0 comments on commit 4ab784b

Please sign in to comment.