Skip to content

chore: correct build arg syntax #75

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

Merged
merged 1 commit into from
Apr 3, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
platforms: linux/amd64,linux/arm64
build-args:
VERSION: ${{ github.ref_name }}
build-args: |
VERSION=${{ github.ref_name }}
Comment on lines +83 to +84
Copy link
Preview

Copilot AI Apr 3, 2025

Choose a reason for hiding this comment

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

The new multiline string syntax changes the data type for build-args from a mapping to a string. Please verify that this syntax is supported by the Docker build action; otherwise, reverting to the original mapping format (using key-value pairs) might be necessary.

Suggested change
build-args: |
VERSION=${{ github.ref_name }}
build-args:
VERSION: ${{ github.ref_name }}

Copilot uses AI. Check for mistakes.


# Sign the resulting Docker image digest except on PRs.
# This will only write to the public Rekor transparency log when the Docker
Expand Down