diff --git a/.github/workflows/task-docker-release.yml b/.github/workflows/task-docker-release.yml index 603bf6ba..e9657fb5 100644 --- a/.github/workflows/task-docker-release.yml +++ b/.github/workflows/task-docker-release.yml @@ -92,11 +92,13 @@ jobs: id: extract_tag run: | if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then - TAG=$(echo '${{ steps.meta-dispatch.outputs.json }}' | jq -r '.tags[-1]') + FULL_TAG=$(echo '${{ steps.meta-dispatch.outputs.json }}' | jq -r '.tags[-1]') else - TAG=$(echo '${{ steps.meta-ci.outputs.json }}' | jq -r '.tags[-1]') + FULL_TAG=$(echo '${{ steps.meta-ci.outputs.json }}' | jq -r '.tags[-1]') fi - echo "image-tag=$TAG" >> $GITHUB_OUTPUT + TAG_ONLY=$(echo "$FULL_TAG" | sed 's|.*:||') + echo "image-tag=$TAG_ONLY" >> $GITHUB_OUTPUT + echo "image-name=datahavenxyz/datahaven:$TAG_ONLY" >> $GITHUB_OUTPUT # --- Conditional: Cargo cache for full builds --- - name: Set up cargo cache (full build) @@ -159,13 +161,13 @@ jobs: # --- Smoke tests --- - name: Pull and test node --help run: | - docker pull ${{ steps.extract_tag.outputs.image-tag }} - docker run --rm ${{ steps.extract_tag.outputs.image-tag }} --help + docker pull ${{ steps.extract_tag.outputs.image-name }} + docker run --rm ${{ steps.extract_tag.outputs.image-name }} --help - name: Integration test (dev chain starts) run: | docker run --rm -d -p 9944:9944 --name local-dh-node \ - ${{ steps.extract_tag.outputs.image-tag }} --dev --unsafe-rpc-external + ${{ steps.extract_tag.outputs.image-name }} --dev --unsafe-rpc-external - name: Wait for node to be healthy and test run: |