Skip to content

Commit 0b2d2e2

Browse files
committed
ci(gha): add steps to perform container image scan
1 parent 75683e8 commit 0b2d2e2

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

.github/workflows/pipeline.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -174,26 +174,26 @@ jobs:
174174
- uses: actions/checkout@v5
175175
with:
176176
fetch-depth: 0
177-
- name: fetch-tags
178-
run: git fetch --tags origin
179-
shell: bash
180-
- id: bump-version
181-
uses: abhisheksr01/github-actions/[email protected]
182-
with:
183-
dry-run: true # Since we are setting dryrun argument the bump-version will always be available until 'current-version' is pushed as release
184-
- name: check-bump-version-output
185-
run: |
186-
echo "previous-version: ${{ steps.bump-version.outputs.previous-version }}"
187-
echo "bump-version: ${{ steps.bump-version.outputs.bump-version }}"
188-
echo "current-version: ${{ steps.bump-version.outputs.current-version }}"
189-
echo "is-version-bumped: ${{ steps.bump-version.outputs.is-version-bumped }}"
190-
echo "is-dryrun-version-bumped: ${{ steps.bump-version.outputs.is-dryrun-version-bumped }}"
191-
shell: bash
192-
- name: Login to Docker Hub
193-
uses: docker/login-action@v3
194-
with:
195-
username: ${{ vars.DOCKERHUB_USERNAME }}
196-
password: ${{ secrets.DOCKERHUB_TOKEN }}
177+
# - name: fetch-tags
178+
# run: git fetch --tags origin
179+
# shell: bash
180+
# - id: bump-version
181+
# uses: abhisheksr01/github-actions/[email protected]
182+
# with:
183+
# dry-run: true # Since we are setting dryrun argument the bump-version will always be available until 'current-version' is pushed as release
184+
# - name: check-bump-version-output
185+
# run: |
186+
# echo "previous-version: ${{ steps.bump-version.outputs.previous-version }}"
187+
# echo "bump-version: ${{ steps.bump-version.outputs.bump-version }}"
188+
# echo "current-version: ${{ steps.bump-version.outputs.current-version }}"
189+
# echo "is-version-bumped: ${{ steps.bump-version.outputs.is-version-bumped }}"
190+
# echo "is-dryrun-version-bumped: ${{ steps.bump-version.outputs.is-dryrun-version-bumped }}"
191+
# shell: bash
192+
# - name: Login to Docker Hub
193+
# uses: docker/login-action@v3
194+
# with:
195+
# username: ${{ vars.DOCKERHUB_USERNAME }}
196+
# password: ${{ secrets.DOCKERHUB_TOKEN }}
197197
- name: Set up Docker Buildx
198198
uses: docker/setup-buildx-action@v3
199199
- name: Docker meta

0 commit comments

Comments
 (0)