Skip to content

Commit

Permalink
fix branch for real (#593)
Browse files Browse the repository at this point in the history
  • Loading branch information
iskakaushik authored Oct 30, 2023
1 parent 5263082 commit 7e1723e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/customer-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ jobs:

- name: extract branch name suffix for customer
id: branch
run: echo "::set-output name=branch::$(echo ${{ github.ref }} | sed 's/customer-//g')"
run: |
echo "::set-output name=branch::$(echo $GITHUB_REF | sed -e 's/.*customer-//')"
- name: Build (optionally publish) PeerDB Images
uses: depot/bake-action@v1
Expand All @@ -47,5 +48,5 @@ jobs:
files: ./docker-bake.hcl
push: ${{ startsWith(github.ref, 'refs/heads/customer-') }}
env:
SHA_SHORT: dev-${{ steps.vars.outputs.sha_short }}
SHA_SHORT: ${{ steps.branch.outputs.branch }}-${{ steps.vars.outputs.sha_short }}
TAG: latest-${{ steps.branch.outputs.branch }}

0 comments on commit 7e1723e

Please sign in to comment.