From 7be849651a8544ac4017410b1d041b282a278427 Mon Sep 17 00:00:00 2001 From: Eric Kidd Date: Thu, 29 Feb 2024 08:17:54 -0500 Subject: [PATCH] ci: Try pushing without using action The action tries to rebuild the image. --- .github/workflows/ci.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7684e7e..cb7dbbc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,17 +41,12 @@ jobs: - name: Show docker logs if: failure() run: docker logs trino-joinery + - name: Log in to the Container registry uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - - name: Build and push Docker image - uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 - with: - push: true - # For now, always push the latest `main` build as an image, until - # we start making versioned releases. - tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest + - name: Push Docker image + run: docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest