Skip to content

Commit

Permalink
Fix release upload
Browse files Browse the repository at this point in the history
Signed-off-by: Vasyl Gello <[email protected]>
  • Loading branch information
basilgello committed Aug 5, 2024
1 parent 98b1a1c commit a1710b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/trunk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ jobs:
#echo "::endgroup::"
- name: Publish release
if: ${{ env.SKIP_UPLOAD != '1' }}
if: ${{ env.SKIP_UPLOAD == '' }}
run: |
gh release create "${{ env.RELEASENAME }}" "${{ env.PRERELEASE }}" yggstack-* || gh release upload "${{ env.RELEASENAME }}" yggstack-* --clobber
env:
Expand All @@ -244,15 +244,15 @@ jobs:
uses: docker/setup-buildx-action@v3

- name: Login to GitHub Container Registry
if: ${{ env.SKIP_UPLOAD != '1' }}
if: ${{ env.SKIP_UPLOAD == '' }}
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push yggstack container image
if: ${{ env.SKIP_UPLOAD != '1' }}
if: ${{ env.SKIP_UPLOAD == '' }}
uses: docker/build-push-action@v6
with:
context: .
Expand Down

0 comments on commit a1710b6

Please sign in to comment.