Skip to content

Commit

Permalink
trigger Image Builds action on completion of Transmission Builds action
Browse files Browse the repository at this point in the history
  • Loading branch information
ilike2burnthing committed Jun 5, 2024
1 parent 1329336 commit 140b2a7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/docker-transmission-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
token: ${{ secrets.PAT }}
ref: dev

# Get latest version of Transmission
- name: Get Transmission version
Expand Down Expand Up @@ -58,3 +61,14 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha, scope=${{ github.workflow }}
cache-to: type=gha, scope=${{ github.workflow}}

- name: Update build-version.txt
run: |
echo "$LATEST_VERSION" > upstream/build-version.txt
git config --global user.email "workflow@github.com"
git config --global user.name "workflow runner"
git add upstream/build-version.txt
git config user.email "transmission-bot@users.noreply.github.com"
git config user.name "Transmission-Bot"
git commit -m "update image build version to ${LATEST_VERSION}"
git push origin dev

0 comments on commit 140b2a7

Please sign in to comment.