diff --git a/.github/workflows/build-coordinator.yml b/.github/workflows/build-coordinator.yml index 3dda8cb4b..659d218d5 100644 --- a/.github/workflows/build-coordinator.yml +++ b/.github/workflows/build-coordinator.yml @@ -55,7 +55,7 @@ jobs: call-coreos: needs: build-coordinator - if: github.ref == 'refs/heads/main' && startsWith(needs.build-coordinator.outputs.coordinator-name, 'coordinator-') + if: ${{ (github.ref == 'refs/heads/main') && startsWith(needs.build-coordinator.outputs.coordinator-name, 'coordinator-') }} uses: ./.github/workflows/build-coreos.yml with: coordinator-name: ${{ needs.build-coordinator.outputs.coordinator-name }} diff --git a/.github/workflows/build-coreos.yml b/.github/workflows/build-coreos.yml index ef6e22fb5..699b348d0 100644 --- a/.github/workflows/build-coreos.yml +++ b/.github/workflows/build-coreos.yml @@ -104,6 +104,6 @@ jobs: - name: "Build and Upload" run: > make -j$(nproc) CONTAINER_ENGINE=docker NETRC=/tmp/.netrc GCP_IMAGE_NAME="${{ env.IMAGE_TIMESTAMP }}" AZURE_IMAGE_NAME="${{ env.IMAGE_TIMESTAMP }}" - AZURE_IMAGE_DEFINITION="constellation-coreos" AZURE_IMAGE_VERSION="${{env.IMAGE_VERSION }}" DOWNLOAD_COORDINATOR=y COORDINATOR_URL="https://${{ secrets.PUBLIC_BUCKET_NAME }}.s3.us-east-2.amazonaws.com/coordinator/${{ inputs.coordinator-name }}${{ github.event.inputs.coordinator-name }}" + AZURE_IMAGE_DEFINITION="constellation-coreos" AZURE_IMAGE_VERSION="${{env.IMAGE_VERSION }}" DOWNLOAD_COORDINATOR=y COORDINATOR_URL="https://${{ secrets.PUBLIC_BUCKET_NAME }}.s3.us-east-2.amazonaws.com/coordinator/${{ inputs.coordinator-name }}" image-gcp image-azure upload-gcp upload-azure working-directory: ${{ env.working-directory }}