File tree Expand file tree Collapse file tree 3 files changed +42
-8
lines changed
Expand file tree Collapse file tree 3 files changed +42
-8
lines changed Original file line number Diff line number Diff line change 2929
3030 build :
3131 needs : compute-tag
32- uses :
iExecBlockchainComputing/github-actions-workflows/ .github/workflows/[email protected] 32+ uses : ./ .github/workflows/reusable-subgraph-deployer-docker.yml
3333 with :
34- image-name : ' iexechub/poco-subgraph-deployer'
35- image-tag : ${{ needs.compute-tag.outputs.computed_tag }}
36- security-scan : false
37- hadolint : false
38- push : true
34+ tag : ${{ needs.compute-tag.outputs.computed_tag }}
3935 secrets :
40- username : ${{ secrets.DOCKERHUB_USERNAME }}
41- password : ${{ secrets.DOCKERHUB_PAT }}
36+ docker- username : ${{ secrets.DOCKERHUB_USERNAME }}
37+ docker- password : ${{ secrets.DOCKERHUB_PAT }}
Original file line number Diff line number Diff line change 4545
4646 - name : Run integration tests
4747 run : npm run test:e2e
48+
49+ deployer-docker-dry-run :
50+ uses : ./.github/workflows/reusable-subgraph-deployer-docker.yml
51+ with :
52+ dry-run : true
Original file line number Diff line number Diff line change 1+ name : docker workflow for Poco subgraph deployer
2+
3+ on :
4+ workflow_call :
5+ inputs :
6+ dry-run :
7+ description : ' Run in dry-run mode (the docker image will not be published)'
8+ default : false
9+ type : boolean
10+ tag :
11+ description : ' Tag of Docker Image'
12+ default : ' latest'
13+ type : string
14+ secrets :
15+ docker-username :
16+ description : ' Docker registry username (required unless `dry-run: true`)'
17+ required : false
18+ docker-password :
19+ description : ' Docker registry password or PAT (required unless `dry-run: true`)'
20+ required : false
21+
22+ jobs :
23+ docker-publish :
24+ uses :
iExecBlockchainComputing/github-actions-workflows/.github/workflows/[email protected] 25+ with :
26+ image-name : ' iexechub/poco-subgraph-deployer'
27+ security-scan : false
28+ hadolint : false
29+ push : ${{ !inputs.dry-run }}
30+ image-tag : ${{ inputs.tag }}
31+ secrets :
32+ username : ${{ secrets.docker-username }}
33+ password : ${{ secrets.docker-password }}
You can’t perform that action at this time.
0 commit comments