diff --git a/.github/workflows/.github-ci.yaml b/.github/workflows/.github-ci.yaml index d80f484..b9b712e 100644 --- a/.github/workflows/.github-ci.yaml +++ b/.github/workflows/.github-ci.yaml @@ -25,7 +25,7 @@ jobs: - name: Build Docker Image run: | APP_NAME="container-k8s-hub" - APP_VERSION="2.0.0" + APP_VERSION="4.0.0" tag="${APP_NAME}:${APP_VERSION}" echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin docker build -t "ghcr.io/eoepca/container-k8s-hub/${tag}" --file Dockerfile . @@ -44,13 +44,13 @@ jobs: uses: actions/upload-artifact@v3 with: name: docker-image-tar - path: container-k8s-hub_2.0.0.tar.gz + path: container-k8s-hub_4.0.0.tar.gz # Step 6: Scan Docker Image with Trivy - name: Scan Docker Image with Trivy run: | APP_NAME="container-k8s-hub" - APP_VERSION="2.0.0" + APP_VERSION="4.0.0" tag="${APP_NAME}:${APP_VERSION}" echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin trivy image --no-progress --exit-code 1 --severity HIGH,CRITICAL,UNKNOWN --format table "ghcr.io/eoepca/container-k8s-hub/${tag}"