Running container with options

In docs there allowing to run container with additional options: Workflow syntax for GitHub Actions - GitHub Docs

jobs:
  build:
    name: Container with name
    runs-on: ubuntu-latest
    container: 
      image: ghcr.io/repo/image:latest
      credentials:
        username: ${{ github.actor }}
        password: ${{ secrets.GITHUB_TOKEN }}
      options: --name myContainerName

But my snippet create and start docker without name argument…

Name of container is generated like this: 31ec555a1aav41a5bffe95da6f8b775b_ghcriorepoimage10_c998dc

Do you have an example?

Given that they’re willing to document flags they don’t support, e.g.:

Warning: The --network option is not supported.

I’d suggest filing an issue against the documentation (there’s a link at the bottom of the documentation page).