Skip to content

Commit

Permalink
feat: fix publish container image issues
Browse files Browse the repository at this point in the history
  • Loading branch information
yingtingxu committed Jun 11, 2024
1 parent ea5b851 commit 96f09f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/commit-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ jobs:
- name: Build container image
run: |
chmod +x gradlew
./gradlew :mall-catalog:bootBuildImage --imageName ghcr.io/${{ github.actor }}/catalog-service:latest
./gradlew :mall-catalog:bootBuildImage \
--imageName ghcr.io/${{ github.actor }}/catalog-service:latest
- name: OCI image vulnerability scanning
uses: anchore/scan-action@v3
id: scan
Expand All @@ -76,5 +77,4 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Publish container image
run: |
docker push ghcr.io/${{ github.actor }}/catalog-service
run: docker push ghcr.io/${{ github.actor }}/catalog-service:latest

0 comments on commit 96f09f2

Please sign in to comment.