Skip to content

Commit dfc1528

Browse files
authored
Merge pull request #9 from Lirt/enh/workaround-docker-io-switch
Add variable to switch 'Workaround for docker.io' on/off
2 parents aa67c93 + 22b2e98 commit dfc1528

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)