mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
Fix deploy and values gor main
This commit is contained in:
@@ -57,7 +57,7 @@ jobs:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
push: true
|
||||
cache-from: type=registry,ref=ghcr.io/blockscout/frontend::buildcache
|
||||
cache-from: type=gha
|
||||
tags: ghcr.io/blockscout/frontend:prerelease-${{ env.GITHUB_REF_NAME_SLUG }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
build-args: |
|
||||
|
||||
@@ -44,8 +44,8 @@ jobs:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
push: true
|
||||
cache-from: type=registry,ref=ghcr.io/blockscout/frontend::buildcache
|
||||
cache-to: type=registry,ref=ghcr.io/blockscout/frontend::buildcache,mode=max
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
build-args: |
|
||||
|
||||
@@ -24,10 +24,10 @@ blockscout:
|
||||
enabled: true
|
||||
annotations:
|
||||
# - 'nginx.ingress.kubernetes.io/rewrite-target: /$2'
|
||||
nginx.ingress.kubernetes.io/cors-allow-origin: "https://*.blockscout-main.test.aws-k8s.blockscout.com, https://*.test.aws-k8s.blockscout.com, http://localhost:3000"
|
||||
nginx.ingress.kubernetes.io/cors-allow-credentials: "true"
|
||||
nginx.ingress.kubernetes.io/cors-allow-methods: PUT, GET, POST, OPTIONS, DELETE, PATCH
|
||||
nginx.ingress.kubernetes.io/enable-cors: "true"
|
||||
- 'nginx.ingress.kubernetes.io/cors-allow-origin: "https://*.blockscout-main.test.aws-k8s.blockscout.com, https://*.test.aws-k8s.blockscout.com, http://localhost:3000"'
|
||||
- 'nginx.ingress.kubernetes.io/cors-allow-credentials: "true"'
|
||||
- 'nginx.ingress.kubernetes.io/cors-allow-methods: PUT, GET, POST, OPTIONS, DELETE, PATCH'
|
||||
- 'nginx.ingress.kubernetes.io/enable-cors: "true"'
|
||||
host:
|
||||
_default: blockscout.test.blockscout.aws-k8s.blockscout.com
|
||||
# enable https
|
||||
|
||||
Reference in New Issue
Block a user