From 8bf9cd82b800ff84fafbc56dcf97b970057e1e8c Mon Sep 17 00:00:00 2001 From: Michele Sica <33629436+MicheleSica@users.noreply.github.com> Date: Thu, 26 Sep 2024 17:45:44 +0200 Subject: [PATCH] Update .github-ci.yaml --- .github/workflows/.github-ci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/.github-ci.yaml b/.github/workflows/.github-ci.yaml index 60d483a..74191d0 100644 --- a/.github/workflows/.github-ci.yaml +++ b/.github/workflows/.github-ci.yaml @@ -36,7 +36,7 @@ jobs: APP_NAME="container-k8s-hub" APP_VERSION="2.0.0" tag="${APP_NAME}:${APP_VERSION}" - docker save "ghcr.io/${{ github.repository }}/${tag}" -o "${APP_NAME}_${APP_VERSION}.tar" + docker save "ghcr.io/eoepca/container-k8s-hub/${tag}" -o "${APP_NAME}_${APP_VERSION}.tar" tar -czf "${APP_NAME}_${APP_VERSION}.tar.gz" "${APP_NAME}_${APP_VERSION}.tar" # Step 5: Upload Docker Image tar.gz as an artifact @@ -53,7 +53,7 @@ jobs: APP_VERSION="2.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/${{ github.repository }}/${tag}" + trivy image --no-progress --exit-code 1 --severity HIGH,CRITICAL,UNKNOWN --format table "ghcr.io/eoepca/container-k8s-hub/${tag}" deploy: needs: build @@ -89,5 +89,5 @@ jobs: APP_NAME="container-k8s-hub" APP_VERSION="2.0.0" tag="${APP_NAME}:${APP_VERSION}" - docker push "ghcr.io/${{ github.repository }}/${tag} + docker push "ghcr.io/eoepca/container-k8s-hub/${tag}"