diff --git a/.github/workflows/nightly-docker-build-publish.yml b/.github/workflows/nightly-docker-build-publish.yml index e179a28f3..197a68212 100644 --- a/.github/workflows/nightly-docker-build-publish.yml +++ b/.github/workflows/nightly-docker-build-publish.yml @@ -24,7 +24,7 @@ jobs: - name: Create Matrix id: get-matrix run: | - examples=($(echo ${{ env.EXAMPLES }} | tr ',' ' ')) + examples=($(echo ${EXAMPLES} | tr ',' ' ')) examples_json=$(printf '%s\n' "${examples[@]}" | sort -u | jq -R '.' | jq -sc '.') echo "examples=$examples_json" >> $GITHUB_OUTPUT @@ -36,7 +36,7 @@ jobs: fail-fast: false uses: ./.github/workflows/_example-workflow.yml with: - node: ${{ env.NODE }} + node: ${NODE} example: ${{ matrix.example }} inject_commit: true secrets: inherit @@ -44,7 +44,7 @@ jobs: get-image-list: uses: ./.github/workflows/_get-image-list.yml with: - examples: ${{ env.EXAMPLES }} + examples: ${EXAMPLES} publish: needs: [get-image-list, build] @@ -61,6 +61,6 @@ jobs: - name: Image Publish uses: opea-project/validation/actions/image-publish@main with: - local_image_ref: ${OPEA_IMAGE_REPO}opea/${{ matrix.image }}:${{ env.TAG }} + local_image_ref: ${OPEA_IMAGE_REPO}opea/${{ matrix.image }}:${TAG} image_name: opea/${{ matrix.image }} - publish_tags: ${{ env.PUBLISH_TAGS }} + publish_tags: ${PUBLISH_TAGS}