fixing script

This commit is contained in:
Sahil Ahuja 2025-02-10 14:10:04 +05:30
parent 011b6fecc4
commit 68e604c41a
2 changed files with 4 additions and 2 deletions

View File

@ -44,7 +44,7 @@ jobs:
with: with:
github-server-url: ${{ github.server_url }} github-server-url: ${{ github.server_url }}
repository: gmetribin/deploy-tools repository: gmetribin/deploy-tools
ref: v1.1.17 ref: v1.1.18
path: deploy-tools path: deploy-tools
# token: $\{{ github.token }} # DEFAULT / Any pushes with github.token don't trigger a chained build # token: $\{{ github.token }} # DEFAULT / Any pushes with github.token don't trigger a chained build

View File

@ -40,8 +40,10 @@ main()
done <<< "$KUST_FILES_LINES" done <<< "$KUST_FILES_LINES"
source $SCRIPT_DIR/repo_to_cs_basetag.sh; source $SCRIPT_DIR/repo_to_cs_basetag.sh;
# cat $NEW_TAG > version; #To always allow a commit
# git add version;
git commit -m "$NEW_TAG: $IMAGE updated to $IMAGE_TAG"; git commit -m "$NEW_TAG: $IMAGE updated to $IMAGE_TAG";
git tag -a $NEW_VER -m "$NEW_VER: $IMAGE updated to $IMAGE_TAG" git tag -a $NEW_TAG -m "$NEW_TAG: $IMAGE updated to $IMAGE_TAG"
} }
### Starts here ### Starts here