Skip to content

Commit ff20bd9

Browse files
author
Perki
committed
Reviewing building scheme
1 parent b7d7a3b commit ff20bd9

File tree

4 files changed

+19
-3
lines changed

4 files changed

+19
-3
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,14 @@ Then open it specifying the config leader service with `https://l.backloop.dev:8
4141
just publish
4242
```
4343

44+
### Publishing DOcker
45+
check version in build script
4446

45-
## License
47+
`./build/build`
4648

47-
[BSD-3-Clause](https://github.com/pryv/app-web-admin/blob/master/LICENSE)
49+
### Todo
50+
- review docker building process
51+
- realease github workflow has been archived in `archives` it needs to rewritten to publish on dockerHub
4852

4953

5054
# License
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# previous version made to publish on Azure should be adapted to publish on dockerHub
12
name: Admin panel deploy release
23

34
on:

build/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM eu.gcr.io/pryvio/base:1.7.0 as build-stage
1+
FROM docker.io/pryvio/base:1.7.0 as build-stage
22
LABEL "Tech@Pryv" <tech@pryv.com>
33
WORKDIR /app
44
COPY ./package.json ./

build/build

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/usr/bin/env bash
2+
3+
set -e
4+
5+
version=1.0.4
6+
host='docker.io'
7+
8+
echo "---------------------------- building mfa --------------------------------"
9+
echo $host/pryvio/app-web-auth3:$version
10+
docker build --build-arg COMPONENT_NAME=app-web-auth3 -f build/Dockerfile -t $host/pryvio/app-web-auth3:$version .
11+
docker push $host/pryvio/app-web-auth3:$version

0 commit comments

Comments
 (0)