-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use pre-built docker image
- Loading branch information
Showing
5 changed files
with
31 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Building new release | ||
|
||
_TODO: This workflow should be improved_ | ||
|
||
- Clone the GitHub repository locally | ||
- Create new Git branch (feature/name-of-feature) | ||
- Decide what the new full version number should be. If it's a pre-release, use -beta suffix in version number. | ||
- Build and push docker image | ||
- Authenticate to ghcr.io using [these instructions](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#authenticating-to-the-container-registry) | ||
- `docker build -t ghcr.io/highbyte/sonarscan-dotnet:v1.0.0 .` where v1.0.0 is the full version number. | ||
- `docker push ghcr.io/highbyte/sonarscan-dotnet:v1.0.0` where v1.0.0 is the full version number. | ||
- Update `action.yml` to point to the new docker tag version, | ||
- Update `README.md` instructions to the new version, | ||
- Push new branch from local repository to GitHub. | ||
- Create [GitHub release](https://github.com/highbyte/sonarscan-dotnet/releases) with the full version number. | ||
- If pre-rerelease (beta), check the Pre-release box. | ||
- Check the box to release it to the GitHub Marketplace. | ||
- Publish the release | ||
- Verify the release from a workflow in another repo using the new version | ||
- If the version is not a pre-release, create a GitHub PR to merge the new branch to master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ The current version supports .NET 7 | |
|
||
``` yaml | ||
- name: SonarScanner for .NET 7 with pull request decoration support | ||
uses: highbyte/[email protected].3 | ||
uses: highbyte/[email protected].4 | ||
with: | ||
# The key of the SonarQube project | ||
sonarProjectKey: your_projectkey | ||
|
@@ -35,7 +35,7 @@ Also includes test results. | |
``` yaml | ||
- name: SonarScanner for .NET 7 with pull request decoration support | ||
uses: highbyte/[email protected].3 | ||
uses: highbyte/[email protected].4 | ||
with: | ||
# The key of the SonarQube project | ||
sonarProjectKey: your_projectkey | ||
|
@@ -58,7 +58,7 @@ Also includes test results. | |
``` yaml | ||
- name: SonarScanner for .NET 7 with pull request decoration support | ||
uses: highbyte/[email protected].3 | ||
uses: highbyte/[email protected].4 | ||
with: | ||
# The key of the SonarQube project | ||
sonarProjectKey: your_projectkey | ||
|
@@ -82,7 +82,7 @@ Also includes test results. | |
``` yaml | ||
- name: SonarScanner for .NET 7 with pull request decoration support | ||
uses: highbyte/[email protected].3 | ||
uses: highbyte/[email protected].4 | ||
with: | ||
# The key of the SonarQube project | ||
sonarProjectKey: your_projectkey | ||
|
@@ -102,7 +102,7 @@ Also includes test results. | |
``` yaml | ||
- name: SonarScanner for .NET 7 with pull request decoration support | ||
uses: highbyte/[email protected].3 | ||
uses: highbyte/[email protected].4 | ||
with: | ||
# The key of the SonarQube project | ||
sonarProjectKey: your_projectkey | ||
|
@@ -124,7 +124,7 @@ Also includes test results. | |
``` yaml | ||
- name: SonarScanner for .NET 7 with pull request decoration support | ||
uses: highbyte/[email protected].3 | ||
uses: highbyte/[email protected].4 | ||
with: | ||
# The key of the SonarQube project | ||
sonarProjectKey: your_projectkey | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters