From 353c38ea97f156ed7117b5fd2d19b5b5e0e2bbe1 Mon Sep 17 00:00:00 2001 From: Hugo Broudeur Date: Thu, 14 Mar 2024 09:42:02 +0000 Subject: [PATCH] update pipepline + add debug --- .github/workflows/cd-oonodz-release.yml | 30 +++++++++++++------------ 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/.github/workflows/cd-oonodz-release.yml b/.github/workflows/cd-oonodz-release.yml index abeb0330b7..6443b8f3bf 100644 --- a/.github/workflows/cd-oonodz-release.yml +++ b/.github/workflows/cd-oonodz-release.yml @@ -25,6 +25,11 @@ jobs: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASS }} + - name: Debug vars + run: | + echo "tag: ${{ github.ref_name }}\n" + echo "avalanche version: ${{ vars.AVALANCHE_VERSION }}\n" + - name: Create the Dockerfile run: | multiline_text=$(cat < Dockerfile-release - name: Build and push release image for the mainnet @@ -81,9 +82,10 @@ jobs: push: true tags: "logisticx/ava:${{ vars.AVALANCHE_VERSION }}-${{ github.ref_name }}" env: - HUBBLENET_RELEASE_TAG: "${{github.ref_name}}" - AVALANCHE_VERSION: "${{ vars.AVALANCHE_VERSION }}" - AVALANCHE_ENVIRONMENT: mainnet + HUBBLENET_RELEASE_TAG: ${{github.ref_name}} + AVALANCHE_VERSION: ${{ vars.AVALANCHE_VERSION }} + VM_ID: o1Fg94YujMqL75Ebrdkos95MTVjZpPpdeAp5ocEsp2X9c2FSz + - name: Build and push release image for the fuji uses: docker/build-push-action@v5 @@ -93,6 +95,6 @@ jobs: push: true tags: "logisticx/ava:${{ vars.AVALANCHE_VERSION }}-fuji-${{ github.ref_name }}" env: - HUBBLENET_RELEASE_TAG: "${{github.ref_name}}" - AVALANCHE_VERSION: "${{ vars.AVALANCHE_VERSION }}" - AVALANCHE_ENVIRONMENT: testnet + HUBBLENET_RELEASE_TAG: ${{github.ref_name}} + AVALANCHE_VERSION: ${{ vars.AVALANCHE_VERSION }} + VM_ID: jvrKsTB9MfYGnAXtxbzFYpXKceXr9J8J8ej6uWGrYM5tXswhJ