Skip to content

Commit

Permalink
build: fix tags
Browse files Browse the repository at this point in the history
  • Loading branch information
alexec committed May 11, 2021
1 parent d043354 commit 35227e4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
fi
docker buildx build . --target ${{matrix.target}} --tag quay.io/argoproj/dataflow-${{matrix.target}}:$tag --push
draft-release:
publish-release:
runs-on: ubuntu-latest
needs: [ publish-images ]
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
Expand All @@ -113,9 +113,8 @@ jobs:
- name: Draft release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.tag.outputs.tag }}
draft: true
prerelease: true
tag_name: ${{ steps.tag.outputs.tag }}
prerelease: ${{ !startsWith(github.ref, 'refs/tags/' }}
body_path: changelog
files: |
config/*.yaml
Expand Down

0 comments on commit 35227e4

Please sign in to comment.