ci: fix artifact upload in image build pipeline (#2765)

* Fix parameter expansion when uploading multiple files
* On download, ensure target directory exists
* Rename encryption-secret -> encryptionSecret
* Remove incorrect secret access from e2e test action
* Add missing checkout action to workflows using our download action
* Fix spacing
* Fix upload action uploading whole directory structure instead of target files
* Explicitly give write permissions to Azure disk image, since permissions are no longer dropped on upload

---------

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
Daniel Weiße 2023-12-21 19:28:18 +01:00 committed by GitHub
parent 66c0b581b2
commit 8c1972c335
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 109 additions and 89 deletions

View file

@ -1,7 +1,7 @@
name: Upload Terraform infrastructure module
description: "Upload the Terraform infrastructure module as an artifact."
inputs:
encryption-secret:
encryptionSecret:
description: 'The secret to use for encrypting the artifact.'
required: true
@ -24,7 +24,7 @@ runs:
with:
name: terraform-module
path: terraform-module.zip
encryption-secret: ${{ inputs.encryption-secret }}
encryptionSecret: ${{ inputs.encryptionSecret }}
- name: Cleanup Terraform module dir
shell: bash