From d4a557c33bf5999a27b0a8fdc47baf775618cedb Mon Sep 17 00:00:00 2001 From: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> Date: Tue, 29 Oct 2024 12:18:23 +0100 Subject: [PATCH] [ci] Fix deploy (#594) * [ci] Fix deploy * push image would be also nice --- .github/workflows/publish-deploy.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-deploy.yml b/.github/workflows/publish-deploy.yml index e59be7fb..b6dd75c5 100644 --- a/.github/workflows/publish-deploy.yml +++ b/.github/workflows/publish-deploy.yml @@ -11,6 +11,11 @@ concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true +#to use reusable workflow +permissions: + id-token: write + contents: read + env: IMAGE_NAME: parity/substrate-telemetry APP: "substrate-telemetry" @@ -59,7 +64,7 @@ jobs: with: context: backend file: ./backend/Dockerfile - push: false + push: true tags: | ${{ env.IMAGE_NAME }}-backend:${{ env.VERSION }} @@ -85,7 +90,7 @@ jobs: with: context: frontend file: ./frontend/Dockerfile - push: false + push: true tags: | ${{ env.IMAGE_NAME }}-frontend:${{ env.VERSION }}