getporter / porter

Porter enables you to package your application artifact, client tools, configuration and deployment logic together as an installer that you can distribute, and install with a single command.
https://porter.sh
Apache License 2.0
1.2k stars 199 forks source link

Fix canary build of the server image #3174

Closed kichristensen closed 2 weeks ago

kichristensen commented 3 weeks ago

What does this change

Building and publishing the server image during a canary build, did not use the canary tag, instead it used the version of the build, e.g., v1.1.0-7-gd0387ecb. It also means that on each canary build a new tag is used when publishing the image.

By checking if we are doing a release of a tagged version or a canary build we can use the correct tag.

Checklist