chore (upgrade): upgrade dep

This commit is contained in:
Mickael Kerjean 2023-06-16 19:34:02 +10:00
parent f05eb8211a
commit 845a32f44e
2 changed files with 10 additions and 10 deletions

View file

@ -177,6 +177,8 @@ jobs:
matrix:
platform:
- linux/amd64
- linux/arm64
- linux/arm/v7
steps:
- name: Init
uses: actions/checkout@v3
@ -185,15 +187,13 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Run
run: |
export COMMIT_SHA=`git rev-parse --short HEAD`
cd docker
docker build --tag machines/filestash:latest .
docker tag machines/filestash:latest machines/filestash:$COMMIT_SHA
docker push machines/filestash:latest
docker push machines/filestash:$COMMIT_SHA
- name: Build and push
uses: docker/build-push-action@v4
with:
context: docker
platforms: ${{ matrix.platform }}
push: true
tags: machines/filestash:latest
deploy:
if: github.ref == 'refs/heads/master'
needs: release_docker

View file

@ -9,7 +9,7 @@ FROM node:18-alpine AS builder_frontend
WORKDIR /home/
COPY --from=builder_prepare /home/filestash/ ./
RUN apk add make git && \
npm install --silent && \
npm install --silent --legacy-peer-deps && \
make build_frontend
# STEP3: BUILD THE BACKEND