Skip to content

Commit

Permalink
ci: Upload stacker binary (#556)
Browse files Browse the repository at this point in the history
Uploading a c-i built binary can make it easier for users to test.

Signed-off-by: Scott Moser <smoser@brickies.net>
  • Loading branch information
smoser authored Nov 20, 2023
1 parent 236d70e commit cd153e6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,14 @@ jobs:
REGISTRY_URL: localhost:5000
ZOT_HOST: localhost
ZOT_PORT: 8080
- name: Upload artifacts
uses: actions/upload-artifact@v3
if: ${{ matrix.privilege-level == 'priv' }}
with:
# if there is more than 1 go-version, we would need to account for that here.
name: binary
path: stacker
if-no-files-found: error
- name: Show disk usage before running the tests
if: always()
uses: ./.github/actions/show-disk-usage
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,14 @@ jobs:
REGISTRY_URL: localhost:5000
ZOT_HOST: localhost
ZOT_PORT: 8080
- name: Upload artifacts
uses: actions/upload-artifact@v3
if: ${{ matrix.privilege-level == 'priv' }}
with:
# if there is more than 1 go-version, we would need to account for that here.
name: binary-cov
path: stacker
if-no-files-found: error
- name: Show disk usage after running the tests
if: always()
uses: ./.github/actions/show-disk-usage
Expand Down

0 comments on commit cd153e6

Please sign in to comment.