Skip to content

Commit

Permalink
add manual dockerhub trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
MishkaMN committed Jan 5, 2025
1 parent 7d313f0 commit cd96338
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Instructions on how to trigger Dockerhub.yml github workflow manually for a specific branch:

Run the following in your command line with your github token (you can replace the branch name in "ref"):
```
curl -X POST \
-H "Authorization: Bearer YOUR_PERSONAL_ACCESS_TOKEN" \
-H "Accept: application/vnd.github+json" \
https://api.github.com/repos/usdot-fhwa-stol/carma-platform/actions/workflows/dockerhub.yml/dispatches \
-d '{
"ref": "develop-humble"
}'
```
2 changes: 2 additions & 0 deletions .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
- "release/*"
tags:
- "carma-system-*"
workflow_dispatch:

jobs:
dockerhub:
uses: usdot-fhwa-stol/actions/.github/workflows/dockerhub.yml@main
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/humble-upgraded-packages.txt

This file was deleted.

0 comments on commit cd96338

Please sign in to comment.