forked from alerta/alerta
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update git url before cloning enrichment plugin
- Loading branch information
1 parent
f1eb7bc
commit f9cbfd9
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,8 @@ jobs: | |
docker login --username rudderlabs --password '${{ secrets.DOCKER_HUB_PASSWORD }}' | ||
export VERSION=${{ steps.branch-name.outputs.current_branch }} | ||
rm -rf rudder-alerta-enrichment-plugin | ||
git clone -b "$(cat RUDDER_ENRICH_PLUGIN_BRANCH_NAME)" https://${{ secrets.PAT_USERNAME }}:${{ secrets.PAT }}@github.com/rudderlabs/rudder-alerta-enrichment-plugin.git | ||
git config --global url."https://${{secrets.PAT}}:[email protected]/rudderlabs".insteadOf "https://github.com/rudderlabs" | ||
git clone -b "$(cat RUDDER_ENRICH_PLUGIN_BRANCH_NAME)" git clone https://github.com/rudderlabs/rudder-alerta-enrichment-plugin.git | ||
docker build --no-cache --build-arg=COMMIT_ID_VALUE="$(git log --format="%H" -n 1)" -t rudderlabs/alerta:$VERSION . | ||
docker push rudderlabs/alerta:$VERSION | ||
rm -rf rudder-alerta-enrichment-plugin | ||
|