Skip to content

Commit de01eff

Browse files
committed
alternative approach
1 parent 813d07b commit de01eff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/module_acceptance.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,14 @@ jobs:
110110
echo ::endgroup::
111111
112112
- name: "Provision environment"
113+
env:
114+
DOCKER_DEFAULT_PLATFORM: linux/amd64
113115
run: |
114116
if [[ "${{ inputs.kernel_modules }}" == "true" ]] && [[ "${{matrix.platforms.provider}}" =~ docker* ]] ; then
115117
DOCKER_RUN_OPTS="docker_run_opts: {'--volume': '/lib/modules/$(uname -r):/lib/modules/$(uname -r)'}"
116118
else
117119
DOCKER_RUN_OPTS=''
118120
fi
119-
export DOCKER_DEFAULT_PLATFORM=linux/amd64
120121
bundle exec rake "litmus:provision[${{matrix.platforms.provider}},${{ matrix.platforms.image }},$DOCKER_RUN_OPTS]"
121122
# Redact password
122123
FILE='spec/fixtures/litmus_inventory.yaml'

0 commit comments

Comments
 (0)