From 64fe47916b049e9661cdebd6921c4aad5e0281ec Mon Sep 17 00:00:00 2001 From: Mark Bonicillo Date: Fri, 7 Jun 2024 16:28:35 -0700 Subject: [PATCH] Fix github workflows --- .github/workflows/ci.yml | 2 +- .github/workflows/publish-to-dockerhub.yml | 5 ++--- .github/workflows/publish-to-pypi.yml | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ce188394..bddc46be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: - run: | echo "This workflow was triggered by: $TRIGGER_PERSON" env: - TRIGGER_PERSON: ${{ inputs.triggeredBy }} + TRIGGER_PERSON: ${{ github.event.inputs.triggeredBy }} - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." diff --git a/.github/workflows/publish-to-dockerhub.yml b/.github/workflows/publish-to-dockerhub.yml index b705f448..a37f471b 100644 --- a/.github/workflows/publish-to-dockerhub.yml +++ b/.github/workflows/publish-to-dockerhub.yml @@ -34,8 +34,7 @@ jobs: - run: | echo "This workflow was triggered by: $TRIGGER_PERSON" env: - TRIGGER_PERSON: ${{ inputs.triggeredBy }} - IMAGE_NAME: hypernetx/hypernetx:latest + TRIGGER_PERSON: ${{ github.event.inputs.triggeredBy }} - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" @@ -57,7 +56,7 @@ jobs: id: push uses: docker/build-push-action@v5 with: - tags: ${{ env.IMAGE_NAME }} + tags: hypernetx/hypernetx:latest push: true - name: Generate artifact attestation diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index d455b713..4633b154 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -30,7 +30,7 @@ jobs: - run: | echo "This workflow was triggered by: $TRIGGER_PERSON" env: - TRIGGER_PERSON: ${{ inputs.triggeredBy }} + TRIGGER_PERSON: ${{ github.event.inputs.triggeredBy }} - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."