Skip to content

Commit

Permalink
Reenable server build using right scope
Browse files Browse the repository at this point in the history
Signed-off-by: Luis Mastrangelo <luis@swirldslabs.com>
  • Loading branch information
acuarica committed Jun 12, 2024
1 parent 5c9714a commit 6702bfe
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/push-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,26 +83,26 @@ 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
- 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
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 `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}}
# 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
Expand Down

0 comments on commit 6702bfe

Please sign in to comment.