Skip to content

Commit 22b2e98

Browse files
committed
Add variable to switch workaround for docker.io on/off
Signed-off-by: Ondrej Vasko <[email protected]>
1 parent aa67c93 commit 22b2e98

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

action.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ inputs:
1313
log_dir:
1414
description: 'Directory for logs'
1515
default: '/tmp/devstack-logs'
16+
enable_workaround_docker_io:
17+
description: 'Enable or disable workaround for docker.io'
18+
default: 'true'
1619
runs:
1720
using: "composite"
1821
steps:
@@ -29,6 +32,7 @@ runs:
2932
sudo apt-get install -y erlang rabbitmq-server || true
3033
shell: bash
3134
- name: Workaround for docker.io
35+
if: ${{ inputs.enable_workaround_docker_io == 'true' }}
3236
run: |
3337
sudo apt-get install -y runc || true
3438
shell: bash

0 commit comments

Comments
 (0)