Skip to content

Commit

Permalink
Fixed errors in OVA generation
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcr01 committed Sep 25, 2024
1 parent 9153427 commit e8ca58e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/builder_OVA.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ on:
- staging
OVA_REVISION:
type: string
description: 'Revision of the OVA file. Use -1 for stage builds, -0 for development builds'
description: 'Revision of the OVA file. Use -0 for development builds'
required: true
default: '-0'
default: '0'
is_stage:
description: "Is stage?"
type: boolean
Expand Down Expand Up @@ -228,13 +228,13 @@ jobs:
- name: Exporting OVA to final repository
run: |
aws s3 cp --quiet --acl public-read /tmp/${{ env.FILENAME_OVA }} s3://${{ secrets.AWS_S3_BUCKET }}/${{ env.S3_PATH }}/${{ env.FILENAME_OVA }}
aws s3 cp --quiet /tmp/${{ env.FILENAME_OVA }} s3://${{ secrets.AWS_S3_BUCKET }}/${{ env.S3_PATH }}/${{ env.FILENAME_OVA }}
- name: Generating sha512 file
if: ${{ inputs.checksum == true }}
run: |
sha512sum /tmp/${{ env.FILENAME_OVA }} > /tmp/${{ env.FILENAME_SHA }}
aws s3 cp --quiet --acl public-read /tmp/${{ env.FILENAME_SHA }} s3://${{ secrets.AWS_S3_BUCKET }}/${{ env.S3_PATH }}/${{ env.FILENAME_SHA }}
aws s3 cp --quiet /tmp/${{ env.FILENAME_SHA }} s3://${{ secrets.AWS_S3_BUCKET }}/${{ env.S3_PATH }}/${{ env.FILENAME_SHA }}
- name: Removing temporal files
run: |
Expand Down

0 comments on commit e8ca58e

Please sign in to comment.