Remove sliding-sync target

This commit is contained in:
Till Faelligen 2023-01-12 18:08:43 +01:00
parent c29cc77843
commit a6e6d6db90
No known key found for this signature in database
GPG Key ID: 3DF82D8AB9211D4E
3 changed files with 2 additions and 3 deletions

View File

@ -58,7 +58,6 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
context: .
target: sliding-sync
platforms: ${{ env.PLATFORMS }}
push: true
tags: |

View File

@ -111,7 +111,7 @@ jobs:
- name: "Build docker image"
env:
DOCKER_BUILDKIT: 1
run: docker build -f Dockerfile --target=sliding-sync -t ghcr.io/matrix-org/sliding-sync-proxy:ci .
run: docker build -f Dockerfile -t ghcr.io/matrix-org/sliding-sync-proxy:ci .
- uses: actions/checkout@v2
with:
repository: matrix-org/matrix-react-sdk

View File

@ -9,7 +9,7 @@ RUN --mount=target=. \
GIT_COMMIT=$(git rev-list -1 HEAD) && \
go build -ldflags "-X main.GitCommit=$GIT_COMMIT" -trimpath -o /out/ ./cmd/syncv3
FROM alpine:3.17 AS sliding-sync
FROM alpine:3.17
RUN apk --update --no-cache add curl
COPY --from=base /out/* /usr/bin/