|
|
@@ -19,7 +19,7 @@ jobs:
|
|
|
- name: Write Dashboard Environment Variables
|
|
|
run: |
|
|
|
cat >./dashboard/.env <<EOL
|
|
|
- NODE_ENV=development
|
|
|
+ NODE_ENV=production
|
|
|
API_SERVER=localhost:8080
|
|
|
FULLSTORY_ORG_ID=${{secrets.FULLSTORY_ORG_ID}}
|
|
|
DISCORD_KEY=${{secrets.DISCORD_KEY}}
|
|
|
@@ -28,16 +28,9 @@ jobs:
|
|
|
EOL
|
|
|
|
|
|
cat ./dashboard/.env
|
|
|
- - name: Set up QEMU
|
|
|
- uses: docker/setup-qemu-action@v1
|
|
|
- - name: Set up Docker Buildx
|
|
|
- uses: docker/setup-buildx-action@v1
|
|
|
- - name: Build and push
|
|
|
- uses: docker/build-push-action@v2
|
|
|
- with:
|
|
|
- context: .
|
|
|
- file: ./docker/dev.Dockerfile
|
|
|
- platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x
|
|
|
- push: true
|
|
|
- tags: |
|
|
|
- gcr.io/porter-dev-273614/porter-prov:latest
|
|
|
+ - name: Build
|
|
|
+ run: |
|
|
|
+ DOCKER_BUILDKIT=1 docker build . -t gcr.io/porter-dev-273614/porter-prov:latest -f ./docker/dev.Dockerfile
|
|
|
+ - name: Push
|
|
|
+ run: |
|
|
|
+ docker push gcr.io/porter-dev-273614/porter-prov:latest
|