Skip to content

Commit

Permalink
Merge pull request #9 from Lirt/enh/workaround-docker-io-switch
Browse files Browse the repository at this point in the history
Add variable to switch 'Workaround for docker.io' on/off
  • Loading branch information
EmilienM authored Oct 12, 2022
2 parents aa67c93 + 22b2e98 commit dfc1528
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 dfc1528

Please sign in to comment.