mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-26 08:13:09 -06:00
Attempt to share images by pushing to local registry
It looks like the docker-container buildx driver can't see host images, but if we put the image on the local registry things should (fingers crossed) work out OK. Load and push cannot happen at the same time
This commit is contained in:
parent
7e5a3c9ba3
commit
aacde8c0ac
6
.github/workflows/cross-compiling-docker.yml
vendored
6
.github/workflows/cross-compiling-docker.yml
vendored
|
|
@ -33,8 +33,8 @@ jobs:
|
|||
with:
|
||||
context: .
|
||||
file: ./.github/workflows/Dockerfile.builder
|
||||
load: true # load into local image store
|
||||
tags: "${{ env.BUILDER_IMAGE_TAG }}"
|
||||
push: true
|
||||
tags: "localhost:5000/${{ env.BUILDER_IMAGE_TAG }}"
|
||||
build-args: "GOARCH=${{ env.GOARCH }}"
|
||||
# - run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
||||
- run: docker image inspect "${{ env.BUILDER_IMAGE_TAG }}"
|
||||
|
|
@ -46,4 +46,4 @@ jobs:
|
|||
platforms: ${{ env.DOCKER_TARGET }}
|
||||
push: true
|
||||
tags: localhost:5000/matrixdotorg/dendrite-monolith:latest
|
||||
build-args: "builder=${{ env.BUILDER_IMAGE_TAG }}\nDENDRITE_BINARY=dendrite-monolith-server"
|
||||
build-args: "builder=localhost:5000/${{ env.BUILDER_IMAGE_TAG }}\nDENDRITE_BINARY=dendrite-monolith-server"
|
||||
|
|
|
|||
Loading…
Reference in a new issue