Skip to content

Action installes latest Kubescape version even with explicit one specified #78

Description

@hobofan

Discovered when trying to work around kubescape/kubescape#3056

Configured as:

        uses: kubescape/github-action@7d90c1f159f02df1e3c79f839eeabe42ea30d4e3
        with:
          version: v4.0.11

Logs show that it's still installing the latest version v4.0.12:

  #8 [3/4] RUN curl -s https://raw.githubusercontent.com/kubescape/kubescape/master/install.sh | KUBESCAPE_VERSION=v4.0.11 /bin/bash
  #8 0.207 Installing Kubescape...
  #8 0.475 Latest version: v4.0.12
  #8 0.477 Downloading from: https://github.com/kubescape/kubescape/releases/download/v4.0.12/kubescape_4.0.12_linux_amd64

I looked through the history of the install script source, and I'm not sure if the KUBESCAPE_VERSION envvar was ever recognized by it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions