diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8056b3b..1bf992a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,6 +32,6 @@ jobs: - name: Build and push the image run: | - docker login --username abankhele --password ${{secrets.ACCESS_TOKEN}} ghcr.io ACCESS_TOKEN + echo ${{ secrets.ACCESS_TOKEN }} | docker login ghcr.io --username abankhele --password-stdin docker build -t ghcr.io/abankhele/prime-service:latest --file Dockerfile . docker push ghcr.io/abankhele/prime-service:latest