uclahs-cds / tool-Docker-action

An Action to automatically build and push images to the GitHub Container registry. Includes automatic building of images for development.
GNU General Public License v2.0
0 stars 0 forks source link

Add pass-through `context` argument to allow subfolders #9

Closed nwiltsie closed 8 months ago

nwiltsie commented 8 months ago

Description

This adds the input variable context, defaulting to ., that is passed straight through to the corresponding input for the docker/build-push-action.

I successfully used this action with this workflow file to create https://github.com/uclahs-cds/tool-Nextflow-action/pkgs/container/nextflow-config-tests.

For good measure I also bumped up the versions of the various sub-actions to get rid of a bunch of deprecation warnings. The https://github.com/jbutcher5/read-yaml action is still throwing warnings but has been archived, so we should either fork and fix it or find a replacement.

Checklist

yashpatel6 commented 8 months ago

The https://github.com/jbutcher5/read-yaml action is still throwing warnings but has been archived, so we should either fork and fix it or find a replacement.

Makes sense, I'll convert this to an issue