Fix build
This commit is contained in:
parent
e83c58e1a5
commit
ec0520698e
3 changed files with 6 additions and 19 deletions
18
.github/workflows/main.yaml
vendored
18
.github/workflows/main.yaml
vendored
|
|
@ -16,9 +16,7 @@ jobs:
|
|||
lfs: true
|
||||
- name: Build project
|
||||
run: |
|
||||
npm install
|
||||
npm run initialize
|
||||
npm run build
|
||||
yarn && yarn run build
|
||||
- name: Deploy frontend
|
||||
uses: w9jds/firebase-action@master
|
||||
with:
|
||||
|
|
@ -26,17 +24,3 @@ jobs:
|
|||
env:
|
||||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
|
||||
PROJECT_PATH: frontend
|
||||
- name: Authenticate with dockerhub
|
||||
run: |
|
||||
docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASSWORD }}
|
||||
- name: Install buildx
|
||||
id: buildx
|
||||
uses: crazy-max/ghaction-docker-buildx@v1
|
||||
with:
|
||||
version: latest
|
||||
- name: Build and push server image
|
||||
run: |
|
||||
docker buildx build \
|
||||
--tag $CONTAINER_REGISTRY/declared-server:latest \
|
||||
--platform linux/amd64,linux/arm/v7,linux/arm64 . --push
|
||||
working-directory: backend
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue