-
Notifications
You must be signed in to change notification settings - Fork 2
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
Update publish-docker.yml #102
Conversation
WalkthroughThe pull request modifies the GitHub Actions workflow for Docker image publication. The key change involves consolidating Docker image attestation steps to simultaneously attest images on Docker Hub and GitHub Container Registry (ghcr.io). The workflow now uses a multi-line Changes
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (1).github/workflows/publish-docker.yml (1)
The changes effectively combine Docker Hub and GHCR attestations into a single step while maintaining proper functionality. The use of YAML's multi-line syntax is appropriate for handling multiple registry targets. Let's verify the attestation configuration: ✅ Verification successfulConsider upgrading to the latest attestation action version (v2.1.0) The workflow is using
Consider updating to the specific version tag 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Verify the workflow's attestation configuration
# Check if the workflow uses the latest version of the attestation action
gh api repos/actions/attest-build-provenance/releases/latest --jq .tag_name
# Verify permissions are correctly set
rg -A 5 "permissions:" .github/workflows/publish-docker.yml
# Check for any other attestation steps that might be redundant
rg "actions/attest-build-provenance" .github/workflows/
Length of output: 436 Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
@coderabbitai write a documentation for using the attestation feature |
Tip For best results, initiate chat on the files or code changes. Here's the documentation for using the attestation feature with Using the Attestation Feature in
|
Summary by CodeRabbit
New Features
Bug Fixes
subject-name
to accommodate multi-line format.