Skip to content

Commit

Permalink
Merge pull request #1042 from marquiz/devel/ci-pkg-building
Browse files Browse the repository at this point in the history
github: build and upload release assets in release workflow
  • Loading branch information
klihub committed Aug 17, 2023
2 parents 8d38368 + 4408bb7 commit a05525e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release.yaml
Expand Up @@ -24,3 +24,26 @@ jobs:
with:
publish: true
image-tag: ${{ github.ref_name }}

build-packages:
needs: [trivy-scan]
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Build packages
run: "make cross-packages Q="

- name: Build vendored dist tarball
run: "make vendored-dist Q="

- name: Upload release assets
uses: softprops/action-gh-release@v1
with:
name: ${{ github.ref_name }}
draft: true
append_body: true
files: |
packages/release-assets/*
vendored-cri-resource-manager-*.tar.gz

0 comments on commit a05525e

Please sign in to comment.