diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 1722b012..30b47be9 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -48,6 +48,13 @@ jobs: tags: ghcr.io/${{ github.repository }}:${{ github.ref_name }} platforms: linux/amd64,linux/arm64 + - name: Setup crane + uses: imjasonh/setup-crane@v0.4 + + - name: Copy to latest tag + if: ${{ github.ref_type == 'tag' }} + run: crane tag ghcr.io/${{ github.repository }}:${{ github.ref_name }} ghcr.io/${{ github.repository }}:latest + - name: Deploy to Test Render if: ${{ env.DEPLOY_TO_TEST == 'true' }} uses: joelwmale/webhook-action@2.4.1