Skip to content

Commit

Permalink
Add variable to switch workaround for docker.io on/off
Browse files Browse the repository at this point in the history
Signed-off-by: Ondrej Vasko <ondrej.vaskoo@gmail.com>
  • Loading branch information
Lirt committed Oct 12, 2022
1 parent aa67c93 commit 22b2e98
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ inputs:
log_dir:
description: 'Directory for logs'
default: '/tmp/devstack-logs'
enable_workaround_docker_io:
description: 'Enable or disable workaround for docker.io'
default: 'true'
runs:
using: "composite"
steps:
Expand All @@ -29,6 +32,7 @@ runs:
sudo apt-get install -y erlang rabbitmq-server || true
shell: bash
- name: Workaround for docker.io
if: ${{ inputs.enable_workaround_docker_io == 'true' }}
run: |
sudo apt-get install -y runc || true
shell: bash
Expand Down

0 comments on commit 22b2e98

Please sign in to comment.