Skip to content

Commit

Permalink
Update publish-backoffice.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pratapalakshmi committed Aug 16, 2023
1 parent 74ea43d commit c305846
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 37 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/publish-backoffice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,10 @@ jobs:
push: true
tags: ${{ steps.prodmeta.outputs.tags }}

- name: Build and push Docker image for other branch
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: apps/backoffice-v2/
push: true
tags: ${{ steps.branchmeta.outputs.tags }}
- name: Build and push Docker image for other branch
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: apps/backoffice-v2/
push: true
tags: ${{ steps.branchmeta.outputs.tags }}
14 changes: 7 additions & 7 deletions .github/workflows/publish-headless-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ jobs:
push: true
tags: ${{ steps.prodmeta.outputs.tags }}

- name: Build and push Docker image for other branch
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: examples/headless-example
push: true
tags: ${{ steps.branchmeta.outputs.tags }}
- name: Build and push Docker image for other branch
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: examples/headless-example
push: true
tags: ${{ steps.branchmeta.outputs.tags }}
17 changes: 8 additions & 9 deletions .github/workflows/publish-kyb-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=raw,value=${{ github.head_ref || github.ref_name }}
type=raw,value=commit-${{ github.sha }}-${{ github.head_ref || github.ref_name }}
type=raw,value=commit-${{ github.sha }}-${{ github.head_ref || github.ref_name }}
- name: Build and push Docker image for Dev Branch
if: github.ref == 'refs/heads/dev'
Expand All @@ -113,11 +113,10 @@ jobs:
push: true
tags: ${{ steps.prodmeta.outputs.tags }}

- name: Build and push Docker image for other branch
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: examples/kyb-app
push: true
tags: ${{ steps.branchmeta.outputs.tags }}

- name: Build and push Docker image for other branch
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: examples/kyb-app
push: true
tags: ${{ steps.branchmeta.outputs.tags }}
14 changes: 7 additions & 7 deletions .github/workflows/publish-workflows-dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ jobs:
push: true
tags: ${{ steps.prodmeta.outputs.tags }}

- name: Build and push Docker image for other branch
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: apps/workflows-dashboard
push: true
tags: ${{ steps.branchmeta.outputs.tags }}
- name: Build and push Docker image for other branch
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: apps/workflows-dashboard
push: true
tags: ${{ steps.branchmeta.outputs.tags }}
14 changes: 7 additions & 7 deletions .github/workflows/publish-workflows-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@ jobs:
push: true
tags: ${{ steps.prodmeta.outputs.tags }}

- name: Build and push Docker image for other branch
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: services/workflows-service
push: true
tags: ${{ steps.branchmeta.outputs.tags }}
- name: Build and push Docker image for other branch
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: services/workflows-service
push: true
tags: ${{ steps.branchmeta.outputs.tags }}

0 comments on commit c305846

Please sign in to comment.