-
Notifications
You must be signed in to change notification settings - Fork 0
Docker open issue for licensed repos #136
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
Conversation
|
Minimum allowed coverage is Generated by 🐒 cobertura-action against 1ac4181 |
.github/workflows/docker.yaml
Outdated
| run: | | ||
| IMAGE_NAME=$(echo "${{inputs.image_name}}" | sed 's|.*/||') | ||
| if jq -e --arg name "$IMAGE_NAME" '.[] == $name' licensed-images.json > /dev/null; then | ||
| echo "Match found". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick: The . should be in the quotes or be removed.
| needs: [publish, image] | ||
| runs-on: ${{ inputs.other_jobs_runs_on }} | ||
| if: needs.image.outputs.prerelease == 'false' | ||
| steps: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we need to do the google-github-actions/auth@v3 and checkout also? This is a separate job.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wondered that... but it seemed to work... So I really don't know
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shouldn't need the checkout since it doesn't interact with any files in the repo itself though, right?
|
craig ~/Repos/workflows [main] $ git tag -f docker-v1
|
No description provided.