Skip to content

Commit d4a557c

Browse files
authored
[ci] Fix deploy (#594)
* [ci] Fix deploy * push image would be also nice
1 parent b16ad2e commit d4a557c

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/publish-deploy.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ concurrency:
1111
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1212
cancel-in-progress: true
1313

14+
#to use reusable workflow
15+
permissions:
16+
id-token: write
17+
contents: read
18+
1419
env:
1520
IMAGE_NAME: parity/substrate-telemetry
1621
APP: "substrate-telemetry"
@@ -59,7 +64,7 @@ jobs:
5964
with:
6065
context: backend
6166
file: ./backend/Dockerfile
62-
push: false
67+
push: true
6368
tags: |
6469
${{ env.IMAGE_NAME }}-backend:${{ env.VERSION }}
6570
@@ -85,7 +90,7 @@ jobs:
8590
with:
8691
context: frontend
8792
file: ./frontend/Dockerfile
88-
push: false
93+
push: true
8994
tags: |
9095
${{ env.IMAGE_NAME }}-frontend:${{ env.VERSION }}
9196

0 commit comments

Comments
 (0)