Skip to content

Error --platform or --push not supported.ย #208

@metaskills

Description

@metaskills

Getting this error when trying to use platform added in #175.

2023-02-08T00:38:57.6802644Z ##[group]๐Ÿ—๏ธ build container
2023-02-08T00:38:57.6811809Z About to run devcontainer build --workspace-folder /home/runner/work/lamby-citest/lamby-citest --image-name ghcr.io/customink/lamby-citest-devcontainer:latest --platform linux/arm64 --output type=oci,dest=/tmp/output.tar --cache-from ghcr.io/customink/lamby-citest-devcontainer:latest --cache-from ghcr.io/customink/lamby-citest-devcontainer
2023-02-08T00:38:57.9391897Z [2023-02-08T00:38:57.937Z] @devcontainers/cli 0.29.0. Node.js v16.19.0. linux 5.15.0-1031-azure x64.
2023-02-08T00:38:57.9392706Z 
2023-02-08T00:38:58.0444615Z Error: --platform or --push not supported.
2023-02-08T00:38:58.0447016Z     at uoe (/usr/local/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:2045:27034)
2023-02-08T00:38:58.0449829Z     at async aoe (/usr/local/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:2045:25017)
      - uses: devcontainers/[email protected]
        with:
          push: always
          platform: linux/arm64
          imageName: ghcr.io/customink/lamby-citest-devcontainer
          cacheFrom: ghcr.io/customink/lamby-citest-devcontainer

Related Issues or Pull Requests

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions