Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/flow-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ on:
- '.**'
workflow_dispatch:

jobs:
permissions:
packages: write
contents: read

jobs:
checkout:
name: 🔖 Checkout Repository
runs-on: ubuntu-22.04
Expand All @@ -30,7 +33,7 @@ jobs:
steps:
- name: 🚀 release + docker
# https://github.com/pagopa/github-actions-template/releases/tag/v2.0.0
uses: pagopa/github-actions-template/payments-flow-release@b825ee193430395706a4a7e580b8435bdded0227
uses: pagopa/github-actions-template/payments-flow-release@fix-maven-package-read
with:
current_branch: ${{ github.ref_name }}

Expand All @@ -49,7 +52,7 @@ jobs:
azure_devops_pat: ${{ secrets.AZURE_DEVOPS_TOKEN }}
azure_template_parameters: |
{
"APPS_TOP": "[p4pa-auth]",
"APPS_TOP": "[template]",
"POSTMAN_BRANCH": "${{ github.ref_name }}",
"TRIGGER_MESSAGE": "p4pa-auth"
"TRIGGER_MESSAGE": "template"
}
16 changes: 10 additions & 6 deletions .github/workflows/flow-snapshot-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ on:
required: false
default: 'true'
argocd_target_branch:
description: 'argocd target branch name'
required: false
default: 'main'
description: 'argocd target branch name'
required: false
default: 'main'
postman_branch:
description: postman branch name'
required: false
Expand All @@ -33,6 +33,10 @@ env:
# branch choosed by workflow_dispatch or by push event
CURRENT_BRANCH: ${{ github.event.inputs.branch || github.ref_name }}

permissions:
packages: write
contents: read

jobs:
checkout:
name: 🔖 Checkout Repository
Expand All @@ -56,7 +60,7 @@ jobs:

- name: Run Snapshot Docker Build/Push
# https://github.com/pagopa/github-actions-template/releases/tag/v2.0.0
uses: pagopa/github-actions-template/payments-flow-docker-snapshot@b825ee193430395706a4a7e580b8435bdded0227
uses: pagopa/github-actions-template/payments-flow-docker-snapshot@fix-maven-package-read
with:
current_branch: ${{ github.ref_name }}

Expand All @@ -79,8 +83,8 @@ jobs:
azure_devops_pat: ${{ secrets.AZURE_DEVOPS_TOKEN }}
azure_template_parameters: |
{
"APPS_TOP": "[one-color]",
"APPS_TOP": "[template]",
"ARGOCD_TARGET_BRANCH": "${{ github.event.inputs.argocd_target_branch }}",
"POSTMAN_BRANCH": "${{ github.event.inputs.postman_branch }}",
"TRIGGER_MESSAGE": "p4pa-auth"
"TRIGGER_MESSAGE": "template"
}
2 changes: 1 addition & 1 deletion force-release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1623
1221
Loading