diff --git a/.github/workflows/build-n-push-main.yml b/.github/workflows/build-n-push-main.yml index 6218c56..7d9d5ec 100644 --- a/.github/workflows/build-n-push-main.yml +++ b/.github/workflows/build-n-push-main.yml @@ -33,7 +33,7 @@ jobs: with: registry: https://ghcr.io username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + password: ${{ secrets.GIT_PAT }} - name: Set up QEMU uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0 diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 097123f..28206c2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,4 +1,5 @@ name: Deploy +run-name: Deploy to ${{ inputs.environment }} on: workflow_dispatch: diff --git a/.github/workflows/post-merge.yml b/.github/workflows/post-merge.yml index 8bd41b3..876091e 100644 --- a/.github/workflows/post-merge.yml +++ b/.github/workflows/post-merge.yml @@ -87,7 +87,7 @@ jobs: with: registry: https://ghcr.io username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + password: ${{ secrets.GIT_PAT }} - name: Set up QEMU uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0 @@ -184,7 +184,7 @@ jobs: with: registry: https://ghcr.io username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + password: ${{ secrets.GIT_PAT }} - name: Set up QEMU uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0 diff --git a/src/main/terraform/container_app.tf b/src/main/terraform/container_app.tf index c78a795..08278a1 100644 --- a/src/main/terraform/container_app.tf +++ b/src/main/terraform/container_app.tf @@ -26,6 +26,12 @@ resource "azurerm_container_app" "rtp-activator" { transport = "HTTP" } + startup_probe { + port = 8080 + path = "/actuator/health" + transport = "HTTP" + } + env { name = "TZ" value = "Europe/Rome"