Compare commits

..

3 Commits

Author SHA1 Message Date
Amit Rajput
54ce1e06dd udpating readme 2025-12-29 19:36:19 +05:30
Amit Rajput
c4f7d65c73 v1.1.17 2025-12-29 19:02:09 +05:30
Amit Rajput
ff57e23d63 v1.1.16 2025-12-29 18:58:03 +05:30
2 changed files with 13 additions and 12 deletions

View File

@ -16,7 +16,7 @@ jobs:
- id: get-id
name: Get a unique tag for this build
run: |
echo "DOCKER_IMAGE=${{ vars.docker_repo2_registry }}/${{ github.repository }}:${{ inputs.image_tag }}" >> "$GITHUB_OUTPUT";
echo "DOCKER_IMAGE=${{ vars.GCP_DOCKER_REGISTRY }}/${{ github.repository }}:${{ inputs.image_tag }}" >> "$GITHUB_OUTPUT";
- name: Print image name
run: |
@ -57,13 +57,13 @@ jobs:
- name: Push the container image
run: docker push ${{ steps.get-id.outputs.DOCKER_IMAGE }}
- name: Scan Docker Image for vulnerabilities with Grype
uses: anchore/scan-action@v6
with:
image: ${{ steps.get-id.outputs.DOCKER_IMAGE }}
cache-db: true #Cache Grype DB in Github Actions
output-format: table
only-fixed: true
severity-cutoff: critical
fail-build: true
# - name: Scan Docker Image for vulnerabilities with Grype
# uses: anchore/scan-action@v6
# with:
# image: ${{ steps.get-id.outputs.DOCKER_IMAGE }}
# cache-db: true #Cache Grype DB in Github Actions
# output-format: table
# only-fixed: true
# severity-cutoff: critical
# fail-build: true

View File

@ -5,10 +5,11 @@ Github Action Workflows that can be reused, built by GMetri
## Creating new releases
```bash
commit_msg=v1.1.17
git add -A;
git commit -m "<commit msg>"
git commit -m "$commit_msg"
#Minor version
git tag -a -m "<tag msg>" v1.0.1
git tag -a -m "$commit_msg" $commit_msg
git push --follow-tags
#Moving major version
git tag -fa v1