ci: remove dash from create action (#2617)

* remove dash
* fix flags parsing

---------

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
Daniel Weiße 2023-11-20 15:19:45 +01:00 committed by GitHub
parent 60921fcc14
commit 807824bf79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -139,11 +139,11 @@ runs:
shell: bash shell: bash
run: | run: |
# TODO(v2.14): Remove workaround for CLIs not supporting apply command # TODO(v2.14): Remove workaround for CLIs not supporting apply command
cmd='apply --skip-phases="init,attestationconfig,certsans,helm,image,k8s"' cmd='apply --skip-phases=init,attestationconfig,certsans,helm,image,k8s'
if constellation --help | grep -q init; then if constellation --help | grep -q create; then
cmd=create cmd=create
fi fi
constellation $cmd -y --debug --tf-log=DEBUG - constellation $cmd -y --debug --tf-log=DEBUG
- name: Constellation create (self-managed) - name: Constellation create (self-managed)
if : inputs.selfManagedInfra == 'true' if : inputs.selfManagedInfra == 'true'