Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

Commit 397e313

Browse files
committed
same but different approach to build and tag an test image
1 parent 5e443aa commit 397e313

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,14 @@ jobs:
1616
contents: read
1717
security-events: write
1818
steps:
19-
- uses: voxpupuli/gha-build-and-publish-a-container@v2
19+
- name: Checkout repository
20+
uses: actions/checkout@v4
21+
22+
- name: Build Docker image
23+
uses: docker/build-push-action@v5
2024
with:
21-
registry_password: ${{ secrets.GITHUB_TOKEN }}
22-
publish: 'false'
23-
tags: ci/pdc:${{ github.sha }}
25+
tags: 'ci/pdc:${{ github.sha }}'
26+
push: false
2427

2528
- name: Run Trivy vulnerability scanner
2629
uses: aquasecurity/trivy-action@master

0 commit comments

Comments
 (0)