Skip to content

Commit

Permalink
Update release actions with airgap bundle upload
Browse files Browse the repository at this point in the history
Signed-off-by: Kyle Squizzato <[email protected]>
  • Loading branch information
squizzi authored and Kshatrix committed Nov 8, 2024
1 parent 10db075 commit 2afec33
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,17 @@ jobs:
dist/install.yaml
templates/provider/hmc-templates/files/release.yaml
draft: true

- name: Build airgap bundle
env:
IMG: 'ghcr.io/mirantis/hmc:${{ env.VERSION }}'
run: |
make airgap-package
- name: Upload airgap bundle
env:
AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
run: |
make awscli
./bin/aws s3 cp bin/hmc-airgap-${{ env.VERSION }}.tgz s3://binary2a-mirantis-com.s3.amazonaws.com/hmc-airgap-${{ env.VERSION }}.tgz

0 comments on commit 2afec33

Please sign in to comment.