Skip to content

Unable To Use [pre-entrypoint,entrypoint,post-entrypoint] in action.yml #26429

Discussion options

You must be logged in to vote

There are a number of things that could be causing this:

  • The entrypoint2.sh script is missing from the Docker image
  • The entrypoint2.sh script is not marked as executable (use chmod a+x to change that)
  • The path to entrypoint2.sh is missing in the entrypoint: parameter. Without specifying a full path the script must be in one of the directories listed in $PATH. For example, if the script is in the root of the container image, you’d need to use:
  entrypoint: '/entrypoint2.sh'

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@matifali
Comment options

@airtower-luna
Comment options

@matifali
Comment options

@airtower-luna
Comment options

@matifali
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants