uclahs-cds / tool-Docker-action

An Action to automatically build and push images to the GitHub Container registry. Includes automatic building of images for development.
GNU General Public License v2.0
0 stars 0 forks source link

Handle `/` in tags #21

Closed yashpatel6 closed 3 weeks ago

yashpatel6 commented 3 weeks ago

Description

For PRs where the branch name contains a / (like dependabot PRs), the tag created replaces the / with -. The deletion workflow looks for the tag with the / and fails to find and delete the tag on PR closure. Updating the delete function to perform the replacement

Example: https://github.com/uclahs-cds/tool-SRC-util/actions/runs/11411848998

Checklist

yashpatel6 commented 3 weeks ago

@nwiltsie I haven't tested this but let me know if there're other places in the action where changes need to be made