diff --git a/.github/workflows/manual_build.yaml b/.github/workflows/manual_build.yaml index 15438dbb9b..f197fb7c2b 100644 --- a/.github/workflows/manual_build.yaml +++ b/.github/workflows/manual_build.yaml @@ -84,28 +84,6 @@ jobs: tags: | type=match,pattern=v(.*),prefix=,suffix= - - name: Build and push Docker image - uses: docker/build-push-action@v4 - with: - context: ${{ inputs.docker_context }} - platforms: "linux/x86_64" - file: ${{ inputs.docker_file }} - push: false - labels: ${{ steps.meta-versioned.outputs.labels }} - cache-from: type=gha - cache-to: type=gha,mode=max - tags: "debridgefinance/${{ env.IMAGE_NAME }}:sol-${{ github.event.inputs.solana_cli_version }}-${{ github.event.inputs.anchor_rev }}" - build-args: | - SOLANA_CLI=${{ github.event.inputs.solana_cli_version }} - ANCHOR_REV=${{ github.event.inputs.anchor_rev }} - - - name: Login to Docker Hub - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKER_HUB_USERNAME }} - password: ${{ secrets.DOCKER_HUB_PASSWORD }} - #registry: ${{ env.REGISTRY }} - - name: Build and push Docker image uses: docker/build-push-action@v4 with: @@ -116,11 +94,34 @@ jobs: labels: ${{ steps.meta-versioned.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max - tags: "debridgefinance/${{ env.IMAGE_NAME }}:sol-${{ github.event.inputs.solana_cli_version }}-${{ github.event.inputs.anchor_rev }}" + tags: "debridgefinance/${{ env.IMAGE_NAME }}:sol-${{ github.event.inputs.solana_cli_version }}" build-args: | SOLANA_CLI=${{ github.event.inputs.solana_cli_version }} ANCHOR_REV=${{ github.event.inputs.anchor_rev }} +# - name: Login to Docker Hub +# uses: docker/login-action@v2 +# with: +# username: ${{ secrets.DOCKER_HUB_USERNAME }} +# password: ${{ secrets.DOCKER_HUB_PASSWORD }} +# #registry: ${{ env.REGISTRY }} +# +# - name: Build and push Docker image +# uses: docker/build-push-action@v4 +# with: +# context: ${{ inputs.docker_context }} +# platforms: "linux/x86_64" +# file: ${{ inputs.docker_file }} +# push: true +# labels: ${{ steps.meta-versioned.outputs.labels }} +# cache-from: type=gha +# cache-to: type=gha,mode=max +# tags: "debridgefinance/${{ env.IMAGE_NAME }}:sol-${{ github.event.inputs.solana_cli_version }} +# #-${{ github.event.inputs.anchor_rev }}" +# build-args: | +# SOLANA_CLI=${{ github.event.inputs.solana_cli_version }} +# ANCHOR_REV=${{ github.event.inputs.anchor_rev }} + # Login against a Docker registry except on PR # https://github.com/docker/login-action # - name: Log into registry ${{ env.REGISTRY }}