-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more to come Signed-off-by: jmeridth <[email protected]>
- Loading branch information
Showing
11 changed files
with
69 additions
and
60 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,13 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile | ||
{ | ||
"name": "Existing Dockerfile", | ||
"build": { | ||
// Sets the run context to one level up instead of the .devcontainer folder. | ||
"context": "..", | ||
"dockerfile": "../Dockerfile" | ||
}, | ||
|
||
// Features to add to the dev container. More info: https://containers.dev/features. | ||
"features": { | ||
"ghcr.io/devcontainers/features/common-utils:2": {} | ||
}, | ||
|
||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [], | ||
|
||
// Use 'postCreateCommand' to run commands after the container is created. | ||
// "postCreateCommand": "echo hello", | ||
|
||
// Configure tool-specific properties. | ||
// "customizations": {}, | ||
|
||
// Connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root. | ||
"remoteUser": "devcontainer" | ||
} |
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 |
---|---|---|
|
@@ -21,6 +21,9 @@ on: | |
schedule: | ||
- cron: '27 19 * * 5' | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
|
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 |
---|---|---|
@@ -1,28 +1,33 @@ | ||
--- | ||
name: Major Version Updater | ||
# Whenever a new release is made, push a major version tag | ||
on: | ||
release: | ||
types: [ published ] | ||
|
||
jobs: | ||
update-major-version-tag: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: version | ||
id: version | ||
run: | | ||
tag=${GITHUB_REF/refs\/tags\//} | ||
version=${tag#v} | ||
major=${version%%.*} | ||
echo "tag=${tag}" >> "$GITHUB_OUTPUT" | ||
echo "version=${version}" >> "$GITHUB_OUTPUT" | ||
echo "major=${major}" >> "$GITHUB_OUTPUT" | ||
- name: force update major tag | ||
run: | | ||
git tag v${{ steps.version.outputs.major }} | ||
git push origin refs/tags/v${{ steps.version.outputs.major }} -f | ||
name: Major Version Updater | ||
# Whenever a new release is made, push a major version tag | ||
on: | ||
release: | ||
types: [ published ] | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
update-major-version-tag: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: version | ||
id: version | ||
run: | | ||
tag=${GITHUB_REF/refs\/tags\//} | ||
version=${tag#v} | ||
major=${version%%.*} | ||
echo "tag=${tag}" >> "$GITHUB_OUTPUT" | ||
echo "version=${version}" >> "$GITHUB_OUTPUT" | ||
echo "major=${major}" >> "$GITHUB_OUTPUT" | ||
- name: force update major tag | ||
run: | | ||
git tag v${{ steps.version.outputs.major }} | ||
git push origin refs/tags/v${{ steps.version.outputs.major }} -f |
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
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
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
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