Skip to content

Commit 78e717b

Browse files
Fix being able to use docker or podman
1 parent 7db2827 commit 78e717b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/desktop-e2e.yml

+2
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ jobs:
143143
uses: actions/checkout@v4
144144
- name: Build test framework
145145
working-directory: test
146+
env:
147+
CONTAINER_RUNNER: docker
146148
run: ./scripts/container-run.sh ./scripts/build.sh
147149
- uses: actions/upload-artifact@v3
148150
with:

test/scripts/container-run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if [[ "$(uname -s)" != "Linux" ]]; then
2323
fi
2424

2525
container_image=$(cat "$REPO_DIR/building/linux-container-image.txt")
26-
podman build -t mullvadvpn-app-tests --build-arg IMAGE="${container_image}" .
26+
"$CONTAINER_RUNNER" build -t mullvadvpn-app-tests --build-arg IMAGE="${container_image}" .
2727

2828
exec "$CONTAINER_RUNNER" run --rm -it \
2929
-v "${CARGO_REGISTRY_VOLUME_NAME}":/root/.cargo/registry:Z \

0 commit comments

Comments
 (0)