rust-vmm / rust-vmm-container

Container with all dependencies required for running rust-vmm crates integration tests.
Apache License 2.0
65 stars 32 forks source link

github: fix "Generate next docker tag" log output #105

Closed stefano-garzarella closed 1 month ago

stefano-garzarella commented 1 month ago

Summary of the PR

The current output of the "Generate next docker tag" step is:

Run echo "VERSION=$(./docker.sh print-next-version)" >> $GITHUB_ENV
Next version to be published is:

The next version is not printed, because $GITHUB_ENV is loaded at the next step. So at this point we cannot access variables that we are setting in this step.

Use a temporary NEXT_VERSION variable where we save the next version to print it correctly.