mirror of
https://github.com/logos-storage/codex-factory.git
synced 2026-01-05 22:43:09 +00:00
fix: add full bee version with commit for bee-js update (#104)
This commit is contained in:
parent
c033758f3d
commit
b11aab3d3c
2
.github/workflows/publish.yaml
vendored
2
.github/workflows/publish.yaml
vendored
@ -128,4 +128,4 @@ jobs:
|
|||||||
token: ${{ secrets.REPO_GHA_PAT }}
|
token: ${{ secrets.REPO_GHA_PAT }}
|
||||||
repository: ethersphere/bee-js
|
repository: ethersphere/bee-js
|
||||||
event-type: update-bee
|
event-type: update-bee
|
||||||
client-payload: '{"imageVersion": "${{ steps.publish.outputs.bee-version }}", "apiVersion": "${{ steps.build.outputs.api-version }}", "debugApiVersion": "${{ steps.build.outputs.debug-api-version }}"}'
|
client-payload: '{"imageVersion": "${{ steps.build.outputs.full-version }}", "apiVersion": "${{ steps.build.outputs.api-version }}", "debugApiVersion": "${{ steps.build.outputs.debug-api-version }}"}'
|
||||||
|
|||||||
@ -120,6 +120,12 @@ if $GEN_TRAFFIC ; then
|
|||||||
# This sets output parameter in Github Actions that
|
# This sets output parameter in Github Actions that
|
||||||
# is then used to trigger Bee-js PR creation
|
# is then used to trigger Bee-js PR creation
|
||||||
if [ "$CI" == 'true' ]; then
|
if [ "$CI" == 'true' ]; then
|
||||||
|
echo "Image version tag will be extracted from the bee version command..."
|
||||||
|
docker pull "$BEE_VERSION"
|
||||||
|
FULL_BEE_VERSION=$(docker run --rm "$BEE_VERSION" version 2>&1)
|
||||||
|
echo "Extracted Bee version: $FULL_BEE_VERSION"
|
||||||
|
echo "::set-output name=full-version::$FULL_BEE_VERSION"
|
||||||
|
|
||||||
npm run setApiVersions "$GEN_TRAFFIC_CHECKER_NODE_DEBUG"
|
npm run setApiVersions "$GEN_TRAFFIC_CHECKER_NODE_DEBUG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user