Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Disable the bash echo with +x #85

Merged
merged 1 commit into from
Dec 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/compose-packer-verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,11 @@ jobs:
uses: infovista-opensource/[email protected]
with:
secrets: ${{ secrets.ENV_SECRETS }}
include: CLOUDS_ENV_B64, CLOUDS_YAML_B64
- name: Create cloud-env file required for packer
id: create-cloud-env-file
if: steps.changes.outputs.src == 'true'
shell: bash
shell: /usr/bin/bash --noprofile --norc -e -o pipefail +x {0}
# yamllint disable rule:line-length
run: |
echo "${{ env.CLOUDS_ENV_B64 }}" | sed 's/^ */::add-mask::/'
Expand All @@ -120,7 +121,7 @@ jobs:
- name: Create cloud.yaml file for openstack client
id: create-cloud-yaml-file
if: steps.changes.outputs.src == 'true'
shell: bash
shell: /usr/bin/bash --noprofile --norc -e -o pipefail +x {0}
# yamllint disable rule:line-length
run: |
mkdir -p "$HOME/.config/openstack"
Expand Down