mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-07-31 08:51:57 +00:00
feat: publish container images for interop-test binaries (#3383)
This patch adds a workflow that automatically publishes a docker image of our `ping` interop-test binaries on every release. Releases are different from Git tags. We publish a tag for each version of each crate but only a single release for each version of the `libp2p` crate. Alternatively, this workflow can also be triggered manually:  1. Select the Git ref you want to run the workflow on. This should be the version of `libp2p` you want to publish the test binary for. For example, if you want to publish a version of the test binary for a hotfix release of a sub-crate, you would pick the respective tag of the hotfix release. 2. Choose the tag of the docker image. To resolve https://github.com/libp2p/test-plans/issues/112, I am planning to create branches off current master that hardcodes the libp2p version in the test-binary to a particular one and then trigger this workflow for the respective branch.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
FROM ubuntu:22.04
|
||||
ARG TEST_BINARY
|
||||
COPY $TEST_BINARY /usr/local/bin/testplan
|
||||
LABEL org.opencontainers.image.source https://github.com/libp2p/rust-libp2p
|
||||
ENV RUST_BACKTRACE=1
|
||||
ENTRYPOINT ["testplan"]
|
||||
|
Reference in New Issue
Block a user