File tree Expand file tree Collapse file tree 4 files changed +42
-53
lines changed
packages/protected-data-delivery-dapp Expand file tree Collapse file tree 4 files changed +42
-53
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Docker Image
2+
3+ on :
4+ push :
5+ tags :
6+ - ' protected-data-delivery-dapp-v*'
7+
8+ jobs :
9+ build-test :
10+ uses : iExecBlockchainComputing/github-actions-workflows/.github/workflows/docker-build.yml@fix/docker/types
11+ with :
12+ image-name : ' docker-regis.iex.ec/product/protected-data-delivery-dapp'
13+ image-tag : ${{ github.ref }} # Use the tag of the commit
14+ push : true
15+ dockerfile : ' packages/protected-data-delivery-dapp/Dockerfile'
16+ security-scan : false
17+ hadolint : false
18+ registry : ' docker-regis.iex.ec'
19+ context : ' packages/protected-data-delivery-dapp'
20+ secrets :
21+ username : ${{ secrets.REGIS_USERNAME }}
22+ password : ${{ secrets.REGIS_PASSWORD }}
Original file line number Diff line number Diff line change 1+ name : Test Docker Image
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - ' *' # Trigger on any pull request
7+ paths :
8+ - ' packages/protected-data-delivery-dapp/**' # Trigger only when changes are made to the dapp
9+
10+ jobs :
11+ build-test :
12+ uses : iExecBlockchainComputing/github-actions-workflows/.github/workflows/docker-build.yml@fix/docker/types
13+ with :
14+ image-name : ' protected-data-delivery-dapp'
15+ image-tag : ${{ github.sha }}
16+ push : false
17+ dockerfile : ' packages/protected-data-delivery-dapp/Dockerfile'
18+ context : ' packages/protected-data-delivery-dapp'
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ FROM node:14-alpine3.11 as builder
22
33WORKDIR /app
44COPY . .
5- RUN npm ci
6- RUN npm run build
5+ RUN npm ci && \
6+ npm run build
77
88FROM node:14-alpine3.11 as runner
99
You can’t perform that action at this time.
0 commit comments