From 5adaf4a316fdd0c3bdf1ee840a9a2b79df83cb99 Mon Sep 17 00:00:00 2001 From: Aakash Singh Date: Fri, 20 Dec 2024 17:03:59 +0530 Subject: [PATCH] fix docker builds --- .github/workflows/deploy.yml | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ac1f9e6..199c197 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -40,7 +40,6 @@ jobs: with: images: | ghcr.io/${{ github.repository }} - ${{ secrets.DOCKER_HUB_USERNAME }}/${{ github.event.repository.name }} tags: | type=raw,value=production-latest,enable=${{ startsWith(github.event.ref, 'refs/tags/v') }} type=raw,value=production-latest-${{ github.run_number }}-{{date 'YYYYMMDD'}}-{{sha}},enable=${{ startsWith(github.event.ref, 'refs/tags/v') }} @@ -58,12 +57,6 @@ jobs: - name: Setup Docker Buildx uses: docker/setup-buildx-action@v3 - - name: Login to DockerHub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKER_HUB_USERNAME }} - password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} - - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: @@ -90,18 +83,17 @@ jobs: tags: ${{ steps.meta.outputs.tags }} build-args: | APP_VERSION=${{ github.sha }} - ADDITIONAL_PLUGS=${{ env.ADDITIONAL_PLUGS }} cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max - - name: Create Sentry release - uses: getsentry/action-release@v1 - env: - SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} - SENTRY_ORG: ${{ secrets.SENTRY_ORG }} - SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} - with: - version: ${{ github.sha }} + # - name: Create Sentry release + # uses: getsentry/action-release@v1 + # env: + # SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} + # SENTRY_ORG: ${{ secrets.SENTRY_ORG }} + # SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} + # with: + # version: ${{ github.sha }} - name: Move cache run: |