-
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.
feat: now use payments actions for snapshot docker (#70)
* try * updated action * force * typo fix * updated template * fix azure devops pat * upgrated checkout * force * try empty * fix pipeline * removed actions no more needed * added fix version of workflow * fix action template name * changed name for snapshot docker action
- Loading branch information
1 parent
7a4f505
commit 4c72958
Showing
5 changed files
with
37 additions
and
179 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,36 @@ | ||
name: SPAC Snapshot docker build and push | ||
|
||
on: | ||
push: | ||
branches-ignore: | ||
- 'main' | ||
paths-ignore: | ||
- 'CODEOWNERS' | ||
- '**.md' | ||
- '.**' | ||
workflow_dispatch: | ||
|
||
env: | ||
CURRENT_BRANCH: ${{ github.event.inputs.branch || github.ref_name }} | ||
|
||
jobs: | ||
spac-flow-docker-snapshot: | ||
runs-on: ubuntu-22.04 | ||
environment: dev | ||
steps: | ||
- name: 🔖 Checkout code | ||
# https://github.com/actions/checkout/releases/tag/v4.2.1 | ||
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 | ||
with: | ||
ref: ${{ env.CURRENT_BRANCH }} | ||
|
||
- name: 📦 Run Snapshot Docker Build/Push & Trigger | ||
# https://github.com/pagopa/github-actions-template/releases/tag/v1.16.0 | ||
uses: pagopa/github-actions-template/spac-flow-docker-snapshot@2f5eb6b40e97186d217f7441dbe83ac611a63636 | ||
with: | ||
current_branch: ${{ github.ref_name }} | ||
enable_azure_devops_step: 'true' | ||
azure_devops_apps: "[one-color]" | ||
azure_devops_project_url: 'https://dev.azure.com/pagopaspa/devopslab-projects' | ||
azure_devops_pipeline_name: 'devopslab-diego-deploy.deploy' | ||
azure_devops_pat: ${{ secrets.AZUREDEVOPS_PAT }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1 +1 @@ | ||
1545 | ||
1604 |