[CI] Add GitHub Action to push development docker images #3503
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What is the purpose of the change
This PR creates a GitHub Action to push development docker images on:
Every new tag containing a release candidate (e.g.
v1.2.3-rc4
).osmolabs/osmosis-dev:1.2.3-rc4
is pushed.Every new commit to the main branch
osmolabs/osmosis-dev:main-{SHORT_SHA}-$(date +%s)
is pushed.Every new commit to a development branch vN.x (e.g.
v1.x
)osmolabs/osmosis-dev-v1.x:{SHORT_SHA}-$(date +%s)
is pushed.All the images above support only
linux/amd64
(notlinux/arm64
) so they can be built a lot faster.All the images are based on an alpine image for easy debugging (you would always have a shell to exec inside the container)
Context
This is the first step for the automatic creation of devnets.
On every new commit to a
vN.x
branch, a new vanilla (or state-exported) testnet will be launched.Brief Changelog
Testing and Verifying
Ran a test on the osmosis-ci-repo.
Documentation and Release Note
Unreleased
section inCHANGELOG.md
? no