From 5c9714a0d12096128ca19fbc814da677e8f53d6b Mon Sep 17 00:00:00 2001 From: Luis Mastrangelo Date: Wed, 12 Jun 2024 21:50:52 +0200 Subject: [PATCH] Retry building only `ui` with `scope` set Signed-off-by: Luis Mastrangelo --- .github/workflows/push-images.yaml | 86 +++++++++++++++--------------- 1 file changed, 43 insertions(+), 43 deletions(-) diff --git a/.github/workflows/push-images.yaml b/.github/workflows/push-images.yaml index fb20312a..6a14e09d 100644 --- a/.github/workflows/push-images.yaml +++ b/.github/workflows/push-images.yaml @@ -83,46 +83,46 @@ jobs: push: true tags: ${{ env.REGISTRY }}/${{ github.repository }}/ui:${{env.TAG}} - - name: Build and push SERVER image - uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5.4.0 - with: - cache-from: type=gha,scope=build-server - cache-to: type=gha,mode=max,scope=build-server - - context: ./sourcify - - # The `scripts` context is used to `COPY` the reset network script into the `server` container. - # Use `additional_contexts` to access the `scripts` folder outside main context. - # See https://docs.docker.com/compose/compose-file/build/#additional_contexts for more details. - build-contexts: | - scripts=./scripts - - # The `Dockerfile.server` used here is basically the same as the one provided by Sourcify. - # It adds instructions to include the reset network script into the container. - file: ./Dockerfile.server - platforms: linux/amd64, linux/arm64 - push: true - tags: ${{ env.REGISTRY }}/${{ github.repository }}/server:${{env.TAG}} - - - name: Build and Push REPOSITORY Image - uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5.4.0 - with: - cache-from: type=gha,scope=build-repository - cache-to: type=gha,mode=max,scope=build-repository - - context: ./h5ai-nginx - - # From https://github.com/ethereum/sourcify/issues/1385 - # - # The `repository` service provides a link to open each verified contract in Remix. - # However, for public self-hosted Sourcify instances (like in the case of Hedera) the _Open repo in Remix_ link does not work, - # given the Remix plugin only fetches contracts from https://repo.sourcify.dev. - # - # When `HIDE_OPEN_IN_REMIX` is set to 1, a patch to remove the link is applied. - # See https://github.com/sourcifyeth/h5ai-nginx/pull/5 for more details. - build-args: | - HIDE_OPEN_IN_REMIX=1 - file: ./h5ai-nginx/Dockerfile - platforms: linux/amd64, linux/arm64 - push: true - tags: ${{ env.REGISTRY }}/${{ github.repository }}/repository:${{env.TAG}} + # - name: Build and push SERVER image + # uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5.4.0 + # with: + # cache-from: type=gha,scope=build-server + # cache-to: type=gha,mode=max,scope=build-server + + # context: ./sourcify + + # # The `scripts` context is used to `COPY` the reset network script into the `server` container. + # # Use `additional_contexts` to access the `scripts` folder outside main context. + # # See https://docs.docker.com/compose/compose-file/build/#additional_contexts for more details. + # build-contexts: | + # scripts=./scripts + + # # The `Dockerfile.server` used here is basically the same as the one provided by Sourcify. + # # It adds instructions to include the reset network script into the container. + # file: ./Dockerfile.server + # platforms: linux/amd64, linux/arm64 + # push: true + # tags: ${{ env.REGISTRY }}/${{ github.repository }}/server:${{env.TAG}} + + # - name: Build and Push REPOSITORY Image + # uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5.4.0 + # with: + # cache-from: type=gha,scope=build-repository + # cache-to: type=gha,mode=max,scope=build-repository + + # context: ./h5ai-nginx + + # # From https://github.com/ethereum/sourcify/issues/1385 + # # + # # The `repository` service provides a link to open each verified contract in Remix. + # # However, for public self-hosted Sourcify instances (like in the case of Hedera) the _Open repo in Remix_ link does not work, + # # given the Remix plugin only fetches contracts from https://repo.sourcify.dev. + # # + # # When `HIDE_OPEN_IN_REMIX` is set to 1, a patch to remove the link is applied. + # # See https://github.com/sourcifyeth/h5ai-nginx/pull/5 for more details. + # build-args: | + # HIDE_OPEN_IN_REMIX=1 + # file: ./h5ai-nginx/Dockerfile + # platforms: linux/amd64, linux/arm64 + # push: true + # tags: ${{ env.REGISTRY }}/${{ github.repository }}/repository:${{env.TAG}}