From 078bacadc97607e29b0c783bd248eb1d005343d8 Mon Sep 17 00:00:00 2001 From: Raman Shekhawat Date: Fri, 4 Oct 2024 13:16:15 +0530 Subject: [PATCH] remove ghcr from publish image --- .github/workflows/publish_image.yml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/.github/workflows/publish_image.yml b/.github/workflows/publish_image.yml index 3e3f8bc8c..9a388c8b9 100644 --- a/.github/workflows/publish_image.yml +++ b/.github/workflows/publish_image.yml @@ -18,19 +18,6 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Log in to registry - run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin - - - name: Build & Push image - run: | - VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,') - [[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//') - [ "$VERSION" == "master" ] && VERSION=latest - - export VERSION=$VERSION - docker compose build indexer_processor - docker compose push indexer_processor - - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v2 with: