Skip to content

Commit

Permalink
Merge pull request #19 from fluxcd/fix-release-ci
Browse files Browse the repository at this point in the history
Use GitHub token in release workflow
  • Loading branch information
stefanprodan authored Jul 13, 2020
2 parents 205857b + 061f569 commit ed10ffb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ jobs:
- name: Push image
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_FLUXCD_USERNAME }}
username: ${{ secrets.DOCKER_FLUXCD_USER }}
password: ${{ secrets.DOCKER_FLUXCD_PASSWORD }}
repository: fluxcd/helm-controller
tag_with_ref: true
- name: Create release
id: create_release
uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
Expand All @@ -44,7 +44,7 @@ jobs:
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./config/release/helm-controller.yaml
Expand Down

0 comments on commit ed10ffb

Please sign in to comment.