login-action: Error: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter ''using: node16' is not supported, use 'docker' or 'node12' instead.')

Behaviour

After pulling the latest version 1.14.0, I’m getting the following error

Error: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter ''using: node16' is not supported, use 'docker' or 'node12' instead.')

Steps to reproduce this issue

  1. Use the latest version, 1.14.0
  2. Error: Fail to load docker/login-action/v1/action.yml

Expected behaviour

It should load the action

Actual behaviour

It throws an error while loading the action

Logs

Download action repository 'docker/login-action@v1' (*******)
Error: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter ''using: node16' is not supported, use 'docker' or 'node12' instead.')
   at GitHub.Runner.Worker.ActionManifestManager.ConvertRuns(IExecutionContext executionContext, TemplateContext templateContext, TemplateToken inputsToken, String fileRelativePath, MappingToken outputs)
   at GitHub.Runner.Worker.ActionManifestManager.Load(IExecutionContext executionContext, String manifestFile)
Error: Fail to load docker/login-action/v1/action.yml

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (7 by maintainers)

Most upvoted comments

v1 tag is now v1.13.0.

Node 16 support won’t be available to GHE until 3.4, which is still in RC: https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.0.rc1 … I’m uncertain as to whether it is simply a matter of upgrading to a newer version of the actions runner… There seems to be a tight coupling of the actions runner version and the GHE version.

Really, this feels like a breaking change for GHE users.

Downgrading to v1.13.0 resolves the issue e.g.

uses: docker/login-action@v1.13.0

@crazy-max Keep in mind that not everyone will be immediately upgrading to GHE 3.4 once it is released. Enterprises can be slow-moving.

I don’t know if GHA provides any telemetry for what version of GHE is leveraging your actions, but this seems like an excellent use case for such information.

@crazy-max No idea to be honest, I will certainly ask. I would not be surprised if they were disabled. Thanks again!