generated from pagopa/pagopa-functions-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
15 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
output "container_app_resource_group_name" { | ||
value = azapi_resource.container_app_onboarding.location | ||
} | ||
|
||
output "container_app_environment_name" { | ||
value = data.azurerm_container_app_environment.container_app_environment.name | ||
} | ||
|
||
output "container_app_name" { | ||
value = azapi_resource.container_app_onboarding.name | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ env: | |
|
||
jobs: | ||
build: | ||
name: Build onboarding microservice | ||
name: Build OnBoarding Microservice | ||
runs-on: ubuntu-latest | ||
if: ${{ (github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == 'true') }} | ||
environment: "${{ inputs.environment != null && inputs.environment || (github.base_ref == 'main' && 'prod' || (github.base_ref == 'develop' && 'uat' || 'dev')) }}-ci" | ||
|
@@ -55,21 +55,12 @@ jobs: | |
echo "environment=$ENV_NAME" >> $GITHUB_OUTPUT | ||
# github doesn't provide a short sha anymore | ||
- name: Set short git commit SHA | ||
- name: Set Short Git Commit SHA | ||
id: setsha | ||
run: | | ||
calculatedSha=$(git rev-parse --short ${{ github.sha }}) | ||
echo "short_sha=sha-$calculatedSha" >> $GITHUB_OUTPUT | ||
# - name: Set up JDK 17 | ||
# uses: actions/setup-java@v3 | ||
# with: | ||
# java-version: 17 | ||
# distribution: "temurin" | ||
|
||
# - name: Build project with Maven | ||
# run: mvn -B package --file onboarding-ms/pom.xml | ||
|
||
- name: Setup Docker buildx | ||
uses: docker/[email protected] | ||
|
||
|
@@ -80,7 +71,7 @@ jobs: | |
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Docker meta | ||
- name: Docker Meta | ||
id: meta | ||
uses: docker/[email protected] | ||
with: | ||
|
@@ -95,7 +86,7 @@ jobs: | |
org.opencontainers.image.url=github.com/pagopa/${{ github.repository }} | ||
org.opencontainers.image.source=https://github.com/${{ github.repository }} | ||
|
||
- name: Build and push image | ||
- name: Build and Push Image | ||
uses: docker/build-push-action@v5 | ||
with: | ||
context: . | ||
|