Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: project name cannot contain slash #6

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

pbhandari-turo
Copy link
Contributor

@pbhandari-turo pbhandari-turo commented Jan 8, 2024

after update in gha runner to docker compose v2, some runs are failing with error like
project name must follow invalid project name "turo/dunlop-deployments-7451808450-1": must consist only of lowercase alphanumeric characters, hyphens, and underscores as well as start with a letter or number

compose project name should not contain /, this PR instead extracts the repo name from github.repository variable (uses last path in turo/...) and uses that to build project name

@pbhandari-turo pbhandari-turo requested a review from tagoro9 January 8, 2024 19:36
@pbhandari-turo pbhandari-turo force-pushed the f/update_docker_compose_project_name branch from e257cab to 689da4a Compare January 8, 2024 19:40
Copy link
Contributor

@tagoro9 tagoro9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can avoid the extra step

run-sync/action.yaml Show resolved Hide resolved
@pbhandari-turo pbhandari-turo force-pushed the f/update_docker_compose_project_name branch from 689da4a to 45a88a9 Compare January 8, 2024 19:59
@pbhandari-turo pbhandari-turo requested a review from tagoro9 January 8, 2024 20:00
@pbhandari-turo pbhandari-turo merged commit 1ac3cf4 into main Jan 8, 2024
2 checks passed
@pbhandari-turo pbhandari-turo deleted the f/update_docker_compose_project_name branch January 8, 2024 20:01
Copy link

github-actions bot commented Jan 8, 2024

🎉 This PR is included in version 1.2.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants