I would like to write a generic action combining 3 steps, one of which requires to be run with a custom Docker image.
It looks like this:
runs: using: "composite" steps: - uses: actions/checkout@v2 - uses: jitterbit/get-changed-files@v1 - run: | # commands that need to be run in a container
Can I add something like this below (which is what I use in my standalone action) ?
jobs: myjob: runs-on: ubuntu-latest container: image: # my image steps: - ...
Or should I use a docker action? (but I don’t think I can use actions/checkout@v2 and jitterbit/get-changed-files in it, which is unfortunate)