Skip to content

Commit

Permalink
Stefan/change pipeline trigger to dev prd (#934)
Browse files Browse the repository at this point in the history
* changed pipeline trigger to push correct params to ado pipeline

* updated trigger for pipeline

* Allow manual dispatch

* Added vars as secrets
  • Loading branch information
svbeusekom authored Jan 29, 2025
1 parent 2fad335 commit 48d9a45
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build-aks-image.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
name: CI

# Run this workflow every time a commit is pushed to main or a pull request is opened against main
# The `workflow_dispatch` had been added to be able to run the
# workflow manually (for testing purposes).
on:
push:
branches:
- master
workflow_dispatch:

jobs:
build:
name: Call Build AKS Azure Pipeline
runs-on: ubuntu-latest
steps:
- name: Call Azure
uses: Azure/pipelines@v1
uses: amsterdam/trigger-ado-pipeline@v1
with:
azure-devops-project-url: ${{ secrets.AZURE_DEVOPS_URL }}
azure-pipeline-name: ${{ secrets.AZURE_DEVOPS_PIPELINE }}
azure-devops-token: ${{ secrets.AZURE_DEVOPS_TOKEN }}
pipeline-id: ${{ secrets.AZURE_DEVOPS_PIPELINE_ID }}
organisation: ${{ secrets.AZURE_DEVOPS_ORG }}
project: ${{ secrets.AZURE_DEVOPS_PROJECT }}
pat-token: ${{ secrets.AZURE_DEVOPS_TOKEN }}
template-params: '{"environments": "- dev\n- prd", "branch": "master", "akscluster": "blue"}'

0 comments on commit 48d9a45

Please sign in to comment.