mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-26 09:41:25 -05:00

* ci: remove artifact encryption for public artifacts * revert parts of #2765 * ci: add unused action exception for encrypted artifact download
32 lines
828 B
YAML
32 lines
828 B
YAML
name: Upload Terraform infrastructure module
|
|
description: "Upload the Terraform infrastructure module as an artifact."
|
|
inputs:
|
|
encryptionSecret:
|
|
description: 'The secret to use for encrypting the artifact.'
|
|
required: true
|
|
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Copy Terraform module
|
|
shell: bash
|
|
run: |
|
|
cp -r terraform/infrastructure terraform-module
|
|
|
|
- name: Zip terraform dir
|
|
shell: bash
|
|
run: |
|
|
zip -r terraform-module.zip terraform-module
|
|
|
|
- name: Upload artifact
|
|
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
|
|
with:
|
|
name: terraform-module
|
|
path: terraform-module.zip
|
|
|
|
- name: Cleanup Terraform module dir
|
|
shell: bash
|
|
run: |
|
|
rm -r terraform-module terraform-module.zip
|