Skip to content

Commit

Permalink
Extend Github workflow to Build ecr-credential-provider binary and ad…
Browse files Browse the repository at this point in the history
…d it to the release assets
  • Loading branch information
gregfurman committed Feb 6, 2023
1 parent 85ec9c4 commit 167030b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@ jobs:
needs: tag
runs-on: ubuntu-latest
steps:
- name: Build Go Binary
run: |
GOOS=linux GOARCH=amd64 go build -o ecr-credential-provider cmd/ecr-credential-provider/*.go
- name: Upload Go Binary as Release Artifact
uses: actions/upload-artifact@v2
with:
name: ecr-credential-provider
path: ecr-credential-provider

- uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 167030b

Please sign in to comment.