From 9bea32d5a750d4b965afe948fa1ac068ba4f5a66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Dan?= Date: Fri, 16 Jun 2023 15:30:21 -0400 Subject: [PATCH] fix: format docker tag --- .github/workflows/docker_build_push.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker_build_push.yml b/.github/workflows/docker_build_push.yml index 3845878..677e6a2 100644 --- a/.github/workflows/docker_build_push.yml +++ b/.github/workflows/docker_build_push.yml @@ -23,6 +23,13 @@ jobs: needs: docker runs-on: ubuntu-latest-16-core steps: + - name: Set environment + run: | + # It's fine to assume a single tag. Our tagging strategy follows a 1:1 mapping of image:tag + tags=${{ needs.docker.outputs.tags }} + echo "docker_tag=${tags#*:}" >> $GITHUB_ENV + shell: bash + - uses: convictional/trigger-workflow-and-wait@v1.6.1 with: owner: topos-network @@ -31,4 +38,4 @@ jobs: workflow_file_name: frontend:erc20-messaging.yml ref: main wait_interval: 60 - client_payload: '{ "topos-smart-contracts-docker-tag": "${{ needs.docker.outputs.tags }}" }' + client_payload: '{ "topos-smart-contracts-docker-tag": "${{ env.docker_tag }}" }'