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

feat: Build and Push GitHub Package #131

Merged
merged 1 commit into from
Oct 6, 2024

Conversation

JackPlowman
Copy link
Owner

@JackPlowman JackPlowman commented Oct 6, 2024

Pull Request

Description

This change introduces a new GitHub Actions workflow for releasing packages and renames an existing workflow file. The new workflow, release-package.yml, is triggered when a new tag is pushed and performs the following actions:

  1. Checks out the repository
  2. Logs in to the GitHub Container registry
  3. Extracts metadata for Docker
  4. Builds and pushes a Docker image to the registry
  5. Generates an artifact attestation

The workflow uses environment variables to set the registry and image name, and includes necessary permissions for package management and attestations.

Additionally, the existing release.yml file has been renamed to release-please.yml for clarity and consistency.

These changes enhance the project's CI/CD pipeline by automating the package release process and improving workflow organisation.

fixes #132

Copy link
Owner Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @JackPlowman and the rest of your teammates on Graphite Graphite

@github-actions github-actions bot added the github_actions Pull requests that update GitHub Actions code label Oct 6, 2024
@JackPlowman JackPlowman changed the title Add Release Package Workflow feat: Build and Push GitHub Package Oct 6, 2024
@JackPlowman JackPlowman marked this pull request as ready for review October 6, 2024 20:28
@JackPlowman JackPlowman force-pushed the 10-06-add_release_package_workflow branch from d63b644 to a7cc07a Compare October 6, 2024 20:28
Copy link

sonarcloud bot commented Oct 6, 2024

Copy link
Owner Author

JackPlowman commented Oct 6, 2024

Merge activity

@JackPlowman JackPlowman merged commit dbbc4df into main Oct 6, 2024
29 checks passed
@JackPlowman JackPlowman deleted the 10-06-add_release_package_workflow branch October 6, 2024 20:33
JackPlowman added a commit that referenced this pull request Oct 6, 2024
🤖 I have created a release *beep* *boop*
---


##
[1.1.0](v1.0.1...v1.1.0)
(2024-10-06)


### 🚀 Features

* Build and Push GitHub Package
([#131](#131))
([dbbc4df](dbbc4df)),
closes
[#132](#132)


### 🧰 Maintenance

* Add .dockerignore file
([#108](#108))
([4f96c7d](4f96c7d)),
closes
[#114](#114)
* Add environment variable check script
([#126](#126))
([2596b6f](2596b6f)),
closes
[#125](#125)
* Create reusable setup-dependencies action
([#123](#123))
([3ff9743](3ff9743)),
closes
[#124](#124)
* Group GitHub Actions dependencies in Dependabot config
([#112](#112))
([2cd5914](2cd5914)),
closes
[#117](#117)
* Refactor statistics file handling and improve logging
([#121](#121))
([c4a3d9e](c4a3d9e)),
closes
[#122](#122)
* Reorganize and expand Justfile commands
([#127](#127))
([ad0aa60](ad0aa60)),
closes
[#128](#128)
* Standardise environment variable names
([#129](#129))
([203c593](203c593)),
closes
[#130](#130)
* Update GitHub Actions dependencies
([#113](#113))
([7a51401](7a51401)),
closes
[#118](#118)
* Update workflows and remove action preview
([#109](#109))
([db4bf42](db4bf42)),
closes
[#115](#115)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Push docker image to GitHub packages
1 participant