- 
                Notifications
    
You must be signed in to change notification settings  - Fork 0
 
Package copyrite in different ways #60
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
base: main
Are you sure you want to change the base?
Conversation
…tes.io token for now, might change it later)
| 
           Well, I'll close the homebrew-core formula PR because  
 It'll have to be a separate homebrew tap for now.  | 
    
…t want to pollute TLD
…rated through cargo build --release
…ep outputs? We shall see...
…cker.com/build/building/multi-platform/... might need to adjust GHA args accordingly or are they automatically assigned?
        
          
                .github/workflows/docker.yml
              
                Outdated
          
        
      | context: . | ||
| file: pkg/docker/Dockerfile | ||
| provenance: false | ||
| platforms: ${{ matrix.platforms }} | 
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.
This should just a string like linux/amd64,linux/arm64.
Here's how I do this in the docker-who repo
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.
matrix is a GitHub action built-in for scattering / parallelising processes but you aren't actually scattering over anything?
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.
See https://docs.github.com/en/actions/how-tos/write-workflows/choose-what-workflows-do/run-job-variations#adding-a-matrix-strategy-to-your-workflow-job for more information about matrices.
But I don't think you want that in this case, unless you want to actively resolve the separate architecture builds into a manifest yourself. Instead, I'd let the docker/build-push-action step do that for you.
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.
Also sorry, meant to just click 'comment' not 'approve'.
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.
        
          
                .github/workflows/docker.yml
              
                Outdated
          
        
      | context: . | ||
| file: pkg/docker/Dockerfile | ||
| provenance: false | ||
| platforms: ${{ matrix.platforms }} | 
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.
matrix is a GitHub action built-in for scattering / parallelising processes but you aren't actually scattering over anything?
        
          
                .github/workflows/docker.yml
              
                Outdated
          
        
      | context: . | ||
| file: pkg/docker/Dockerfile | ||
| provenance: false | ||
| platforms: ${{ matrix.platforms }} | 
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.
See https://docs.github.com/en/actions/how-tos/write-workflows/choose-what-workflows-do/run-job-variations#adding-a-matrix-strategy-to-your-workflow-job for more information about matrices.
But I don't think you want that in this case, unless you want to actively resolve the separate architecture builds into a manifest yourself. Instead, I'd let the docker/build-push-action step do that for you.
Fixes #11
Also: try to package on different fronts to facilitate distribution.