Skip to content

Commit

Permalink
Change docker run to use container on actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gmmcal committed Dec 6, 2023
1 parent 347016d commit f1453eb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@ jobs:
lint:
name: Lint
runs-on: ubuntu-20.04
container:
image: ${{ inputs.image }}
options: "--privileged"

steps:
- name: Check what is inside /github/home
run: ls -la /github/home
- name: Execute ${{ inputs.command }}
run: docker run --rm ${{ inputs.image }} ${{ inputs.command }}
run: ${{ inputs.command }}
working-directory: /rails

0 comments on commit f1453eb

Please sign in to comment.