Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Updated git workflow and bicep for multi pipeline based on branch #12

Closed
wants to merge 46 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
3a8bc21
udapted workflow
AjitPadhi-Microsoft Oct 25, 2024
fa177b7
udapted workflow
AjitPadhi-Microsoft Oct 25, 2024
98d90b5
udapted workflow
AjitPadhi-Microsoft Oct 25, 2024
e822c22
udapted workflow
AjitPadhi-Microsoft Oct 25, 2024
3a6cd4b
udapted workflow
AjitPadhi-Microsoft Oct 25, 2024
c6b76e9
udapted workflow
AjitPadhi-Microsoft Oct 25, 2024
7e24ba9
udapted workflow
AjitPadhi-Microsoft Oct 25, 2024
6ebb44f
udapted workflow
AjitPadhi-Microsoft Oct 25, 2024
9cd9731
udapted workflow
AjitPadhi-Microsoft Oct 28, 2024
95d008f
udapted workflow
AjitPadhi-Microsoft Oct 28, 2024
b846ed9
udapted workflow
AjitPadhi-Microsoft Oct 28, 2024
35f84fe
Merge branch 'Roopan-Microsoft:main' into main
AjitPadhi-Microsoft Oct 28, 2024
923b38c
udapted workflow
AjitPadhi-Microsoft Oct 28, 2024
de711e6
udapted workflow
AjitPadhi-Microsoft Oct 28, 2024
1050e2e
Merge branch 'Roopan-Microsoft:main' into dev
AjitPadhi-Microsoft Oct 28, 2024
9a0453f
Merge branch 'Roopan-Microsoft:main' into demo
AjitPadhi-Microsoft Oct 28, 2024
b601eb2
udapted workflow
AjitPadhi-Microsoft Oct 28, 2024
fe47077
merged with main
AjitPadhi-Microsoft Oct 28, 2024
64e6473
udapted workflow
AjitPadhi-Microsoft Oct 28, 2024
f18d56e
udapted workflow
AjitPadhi-Microsoft Oct 28, 2024
aa71d46
udapted workflow
AjitPadhi-Microsoft Oct 28, 2024
00b225b
udapted workflow
AjitPadhi-Microsoft Oct 28, 2024
979e62e
udapted workflow
AjitPadhi-Microsoft Oct 28, 2024
72c02f6
udapted workflow
AjitPadhi-Microsoft Oct 28, 2024
c71702e
udapted workflow
AjitPadhi-Microsoft Oct 28, 2024
dcbb041
udapted workflow
AjitPadhi-Microsoft Oct 28, 2024
bc58917
udapted workflow
AjitPadhi-Microsoft Oct 28, 2024
0586e69
udapted workflow
AjitPadhi-Microsoft Oct 28, 2024
7dabf2f
Merge pull request #1 from AjitPadhi-Microsoft/demo
AjitPadhi-Microsoft Oct 28, 2024
b0b95f5
Merge branch 'Roopan-Microsoft:main' into main
AjitPadhi-Microsoft Oct 28, 2024
41dbd89
udapted workflow
AjitPadhi-Microsoft Oct 28, 2024
6feb34d
updated workflow
AjitPadhi-Microsoft Oct 28, 2024
9d57187
Merge branch 'Roopan-Microsoft:main' into dev
AjitPadhi-Microsoft Oct 28, 2024
2902008
merged with main
AjitPadhi-Microsoft Oct 28, 2024
b0448b8
update make
AjitPadhi-Microsoft Oct 29, 2024
64d3209
update make
AjitPadhi-Microsoft Oct 29, 2024
65bce4d
updated bicep for container
AjitPadhi-Microsoft Oct 29, 2024
2e88be4
Merge pull request #2 from AjitPadhi-Microsoft/dev
AjitPadhi-Microsoft Oct 29, 2024
38cc2c4
updated repo name
AjitPadhi-Microsoft Oct 29, 2024
d314037
updated main.json
AjitPadhi-Microsoft Oct 30, 2024
6cfc5dd
Merge branch 'Roopan-Microsoft:main' into main
AjitPadhi-Microsoft Oct 30, 2024
aaccca5
Merge branch 'Roopan-Microsoft:main' into main
AjitPadhi-Microsoft Nov 4, 2024
3754c81
fixed docker issue
AjitPadhi-Microsoft Nov 8, 2024
9adf33d
fixed registry
AjitPadhi-Microsoft Nov 13, 2024
9898cb9
updated main.json
AjitPadhi-Microsoft Nov 13, 2024
c01e78f
Merge branch 'main' into main
AjitPadhi-Microsoft Nov 13, 2024
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
Prev Previous commit
Next Next commit
udapted workflow
AjitPadhi-Microsoft committed Oct 28, 2024
commit 41dbd89808e141a6025248550426c1a614e9dea1
1 change: 0 additions & 1 deletion .github/workflows/build-docker-images.yml
Original file line number Diff line number Diff line change
@@ -33,5 +33,4 @@ jobs:
app_name: ${{ matrix.app_name }}
dockerfile: ${{ matrix.dockerfile }}
push: ${{ github.event_name == 'workflow_run' && github.event.workflow_run.head_branch == 'main' || github.event.workflow_run.head_branch == 'dev' || github.event.workflow_run.head_branch == 'demo' }}
environment: ${{ github.ref == 'refs/heads/main' && 'latest' || github.ref == 'refs/heads/dev' && 'dev' || github.ref == 'refs/heads/demo' && 'demo' }}
secrets: inherit
7 changes: 2 additions & 5 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
@@ -18,9 +18,6 @@ on:
push:
required: true
type: boolean
environment:
required: true
type: string
secrets:
DOCKER_PASSWORD:
required: false
@@ -54,7 +51,7 @@ jobs:
context: .
file: ${{ inputs.dockerfile }}
push: ${{ inputs.push }}
cache-from: type=registry,ref=${{ inputs.registry }}/${{ inputs.app_name}}:${{ inputs.environment }}
cache-from: type=registry,ref=${{ inputs.registry }}/${{ inputs.app_name}}:${{ github.ref_name }}
tags: |
${{ inputs.registry }}/${{ inputs.app_name}}:${{ inputs.environment }}
${{ inputs.registry }}/${{ inputs.app_name}}:${{ github.ref_name }}
${{ inputs.registry }}/${{ inputs.app_name}}:${{ steps.date.outputs.date }}_${{ github.run_number }}