This PR addresses the issue of our previous approach to only publish the latest version of devbox with :latest tag in dockerhub. It achieves 2 things:
fixes the previously broken github action to release a docker image after every tag creation.
updates the dockerfile so that devbox binary doesn't automatically upgrade to latest version upon first use. This allows docker pulls have fixed versions.
How was it tested?
Already tested on releasing 0.10.7 version to dockerhub as test.
docker pull jetpackio/devbox:0.10.7
docker run jetpackio/devbox:0.10.7
confirm output shows devbox version 0.10.7 and doesn't upgrade to latest version.
Updated the PR based on huddle discussion with @mikeland73
The new approach is to set latest tag to false and remove replacing the launcher logic. In a follow up PR I'll add a job to update latest tag as well.
Summary
This PR addresses the issue of our previous approach to only publish the latest version of devbox with
:latest
tag in dockerhub. It achieves 2 things:How was it tested?
Already tested on releasing 0.10.7 version to dockerhub as test.
docker pull jetpackio/devbox:0.10.7
docker run jetpackio/devbox:0.10.7