From 3498992914ebeea24620f7413dd917fdc69dabc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Lindstr=C3=B6m?= Date: Fri, 28 Jun 2024 18:32:17 +0200 Subject: [PATCH] feat: add first workflow file --- .github/workflows/message-service.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/message-service.yml diff --git a/.github/workflows/message-service.yml b/.github/workflows/message-service.yml new file mode 100644 index 0000000..5f9cd61 --- /dev/null +++ b/.github/workflows/message-service.yml @@ -0,0 +1,26 @@ +name: MessageService + +on: + workflow_dispatch: + push: + branches: + - main + +jobs: + login: + runs-on: ubuntu-latest + + permissions: + contents: read + id-token: write + + steps: + - name: Checkout repostory + uses: actions/checkout@v4 + + - name: Azure Login using OIDC authentication + uses: azure/login@v1 + with: + tenant-id: ${{ secrets.OP_TENANT_ID }} + subscription-id: ${{ secrets.OPLAB_SUBSCRIPTION_ID }} + client-id: ${{ secrets.ZEROTRUSTAPP_DEV_CLIENT_ID }}