Skip to content

[BUG] curl fails to download kustomize #46

@BartoszBrodzinski-TomTom

Description

Describe the bug
curl is failing to download kustomize.

getting download url for kustomize v5.4.2
curl: option : blank argument where content is expected
curl: try 'curl --help' or 'curl --manual' for more information
curl: option : blank argument where content is expected
curl: try 'curl --help' or 'curl --manual' for more information
curl: option : blank argument where content is expected
curl: try 'curl --help' or 'curl --manual' for more information
...
Failed to find download URL for v5.4.2

The action started failing today after yesterday's alpine release: https://alpinelinux.org/posts/Alpine-3.20.0-released.html

I looks like with latest release of alpine:3.20, apk repository contains curl app version that isn't backward compatible.

Changing versions of kustomize to download doesn't do the job.

To Reproduce
Just run the action.

Expected behavior
Action is able to download kustomize with curl and run kustomize on files in repo.

Screenshots/Actions log
No need for screenshot, logs at the top of the issue.

Running on:
doesn't matter

Additional context

Pinning alpine to major version only, without minor version is not a very good approach when it comes to alpine images. Different releases of alpine have different versions of apps in apk repository. Up to version 3.19 everything worked fine, now it fails with 3.20.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions