mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-06 08:22:24 +01:00
chore (upgrade): upgrade dep
This commit is contained in:
parent
f05eb8211a
commit
845a32f44e
2 changed files with 10 additions and 10 deletions
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue