-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5e00a67
commit 81e289e
Showing
4 changed files
with
47 additions
and
5 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 |
---|---|---|
|
@@ -39,10 +39,7 @@ jobs: | |
|
||
- name: Run Hadolint Scan with SARIF result | ||
uses: hadolint/[email protected] | ||
with: | ||
path: . | ||
# Specify the directory to scan (in this case, the root directory). | ||
|
||
with: | ||
dockerfile: Dockerfile | ||
# Specify the name of the Dockerfile to be scanned. | ||
|
||
|
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,27 @@ | ||
#!/bin/bash | ||
|
||
if (( $# != 2 )) | ||
then | ||
printf "%b" "Usage: git.sh <version> <annotation>\n" >&2; | ||
exit 1; | ||
fi; | ||
|
||
VERSION=$1; | ||
ANNOTATION=$2; | ||
|
||
echo "Calling git.sh with tag $VERSION with annotation \"$ANNOTATION\""; | ||
./git.sh "$VERSION" "$ANNOTATION"; | ||
|
||
echo "Checking out main branch"; | ||
git checkout main; | ||
|
||
echo "Merging development branch"; | ||
git merge development; | ||
|
||
echo "Calling git.sh with tag $VERSION with annotation \"$ANNOTATION\""; | ||
./git.sh "$VERSION" "$ANNOTATION"; | ||
|
||
echo "Checking out development branch"; | ||
git checkout development; | ||
|
||
git status; |