Skip to content

Commit

Permalink
fix: add needs to trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
apham0001 committed Oct 30, 2024
1 parent 45c1ef5 commit 65a2881
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-push-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Maybe overwrite app/version.Version with git tag
if: github.ref_type == 'tag'
run: echo 'GO_BUILD_FLAG=-ldflags=-X github.com/obolnetwork/charon/app/version.version=${{ github.ref_name }}' >> $GITHUB_ENV

- uses: docker/build-push-action@v4
Expand All @@ -81,6 +80,7 @@ jobs:
echo "::set-output name=short_sha::$calculatedSha"
- name: Trigger dev relay deploy job
if: github.ref_type == 'tag'
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.CHARON_K8S_REPO_ACCESS_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
token: ${{ secrets.RELEASE_SECRET }}

trigger-dispatch:
needs: release
runs-on: ubuntu-latest
steps:
- name: Extract tag name
Expand Down

0 comments on commit 65a2881

Please sign in to comment.