Skip to content

Commit a68d1b8

Browse files
committed
another approach
1 parent de01eff commit a68d1b8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/module_acceptance.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,15 +110,13 @@ jobs:
110110
echo ::endgroup::
111111
112112
- name: "Provision environment"
113-
env:
114-
DOCKER_DEFAULT_PLATFORM: linux/amd64
115113
run: |
116114
if [[ "${{ inputs.kernel_modules }}" == "true" ]] && [[ "${{matrix.platforms.provider}}" =~ docker* ]] ; then
117115
DOCKER_RUN_OPTS="docker_run_opts: {'--volume': '/lib/modules/$(uname -r):/lib/modules/$(uname -r)'}"
118116
else
119117
DOCKER_RUN_OPTS=''
120118
fi
121-
bundle exec rake "litmus:provision[${{matrix.platforms.provider}},${{ matrix.platforms.image }},$DOCKER_RUN_OPTS]"
119+
DOCKER_DEFAULT_PLATFORM=linux/amd64 bundle exec rake "litmus:provision[${{matrix.platforms.provider}},${{ matrix.platforms.image }},$DOCKER_RUN_OPTS]"
122120
# Redact password
123121
FILE='spec/fixtures/litmus_inventory.yaml'
124122
sed -e 's/password: .*/password: "[redacted]"/' < $FILE || true

0 commit comments

Comments
 (0)