cli icon indicating copy to clipboard operation
cli copied to clipboard

tendermint/starport/actions/cli@<version> uses latest develop branch

Open 7AC opened this issue 4 years ago • 2 comments

Describe the bug I'm trying to use the cli action at the version appropriate for my SDK, based on:

https://github.com/tendermint/starport#cosmos-sdk-compatibility

Looks like the action version has no effect since the Dockerfile always picks up HEAD from the develop branch:

https://github.com/tendermint/starport/blob/v0.19.3/actions/cli/Dockerfile

To Reproduce Have the following in a workflow:

        uses: tendermint/starport/actions/[email protected]

7AC avatar Feb 10 '22 23:02 7AC

I'd be happy to send a PR for this but I think the fix is actually doing something like this every time you release, so I'm not sure it's something we can help with on our end:

diff --git a/actions/cli/Dockerfile b/actions/cli/Dockerfile
index eccbc382..573b65ba 100644
--- a/actions/cli/Dockerfile
+++ b/actions/cli/Dockerfile
@@ -1,3 +1,3 @@
-FROM ignitehq/cli:develop
+FROM ignitehq/cli:v0.24.0
 
 USER root

The issue with keeping a mutable develop tag there is we can't have reproducible builds using the action.

7AC avatar Oct 13 '22 18:10 7AC

This has been fixed, it now uses :latest

julienrbrt avatar Jan 22 '25 16:01 julienrbrt