mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-02-12 19:22:45 +00:00
cors: add self hostable cors proxy
This commit is contained in:
13
.github/workflows/publish.yml
vendored
13
.github/workflows/publish.yml
vendored
@@ -23,12 +23,19 @@ jobs:
|
||||
repos:
|
||||
- image: streetwriters/notesnook-sync
|
||||
file: ./Notesnook.API/Dockerfile
|
||||
context: .
|
||||
|
||||
- image: streetwriters/cors-proxy
|
||||
file: ./cors-proxy/Dockerfile
|
||||
context: ./cors-proxy/
|
||||
|
||||
- image: streetwriters/identity
|
||||
file: ./Streetwriters.Identity/Dockerfile
|
||||
context: .
|
||||
|
||||
- image: streetwriters/sse
|
||||
file: ./Streetwriters.Messenger/Dockerfile
|
||||
context: .
|
||||
permissions:
|
||||
packages: write
|
||||
contents: read
|
||||
@@ -42,7 +49,7 @@ jobs:
|
||||
- name: Docker Setup Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8
|
||||
platforms: linux/amd64,linux/arm64
|
||||
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
@@ -71,10 +78,10 @@ jobs:
|
||||
id: push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
context: ${{ matrix.repos.context }}
|
||||
file: ${{ matrix.repos.file }}
|
||||
push: true
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8
|
||||
platforms: linux/amd64,linux/arm64
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
cache-from: ${{ matrix.repos.image }}:latest
|
||||
|
||||
|
||||
Reference in New Issue
Block a user