Skip to content

Commit

Permalink
chore: Add back Publish Binaries to upload clairctl versions
Browse files Browse the repository at this point in the history
v4.3.6 is the last version where we uploaded the clairctl assets
with the release.

Signed-off-by: crozzy <joseph.crosland@gmail.com>
  • Loading branch information
crozzy committed Aug 25, 2022
1 parent dfd68db commit 415b2a1
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/cut-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,37 @@ jobs:
tag: ${{ needs.config.outputs.image_tag }}
token: ${{ secrets.QUAY_API_TOKEN }}

publish-binaries:
name: Publish Binaries
runs-on: 'ubuntu-latest'
needs: [release-archive, release]
strategy:
matrix:
goarch: ['arm64', 'amd64', '386']
goos: ['linux', 'windows', 'darwin']
exclude:
- goos: darwin
goarch: '386'
- goos: darwin
goarch: arm64
- goos: windows
goarch: arm64
steps:
- name: Fetch Archive
uses: actions/download-artifact@v3
id: download
with:
name: release
- name: Publish clairctl-${{matrix.goos}}-${{matrix.goarch}}
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.release.outputs.upload_url }}
asset_path: ${{steps.download.outputs.download-path}}/clairctl-${{matrix.goos}}-${{matrix.goarch}}
asset_name: clairctl-${{matrix.goos}}-${{matrix.goarch}}
asset_content_type: application/octet-stream

deploy-documentation:
name: Deploy Documentation
runs-on: ubuntu-latest
Expand Down

0 comments on commit 415b2a1

Please sign in to comment.