Skip to content

Commit f7988a7

Browse files
committed
fix 🐞: Change branch name
1 parent 06c02be commit f7988a7

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/node.js.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
order-service-build-and-push:
1010
runs-on: ubuntu-latest
11-
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/ci' || startsWith(github.ref, 'refs/tags/')
11+
if: github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/ci' || startsWith(github.ref, 'refs/tags/')
1212
defaults:
1313
run:
1414
working-directory: 1-order-service
@@ -37,7 +37,7 @@ jobs:
3737
uses: docker/build-push-action@v5
3838
with:
3939
context: ./1-order-service
40-
push: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/ci' || startsWith(github.ref, 'refs/tags/') }}
40+
push: ${{ github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/ci' || startsWith(github.ref, 'refs/tags/') }}
4141
tags: |
4242
${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}
4343
platforms: linux/amd64
@@ -46,7 +46,7 @@ jobs:
4646

4747
inventory-service-build-and-push:
4848
runs-on: ubuntu-latest
49-
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/ci' || startsWith(github.ref, 'refs/tags/')
49+
if: github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/ci' || startsWith(github.ref, 'refs/tags/')
5050
defaults:
5151
run:
5252
working-directory: 2-inventory-service
@@ -75,7 +75,7 @@ jobs:
7575
uses: docker/build-push-action@v5
7676
with:
7777
context: ./2-inventory-service
78-
push: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/ci' || startsWith(github.ref, 'refs/tags/') }}
78+
push: ${{ github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/ci' || startsWith(github.ref, 'refs/tags/') }}
7979
tags: |
8080
${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}
8181
platforms: linux/amd64
@@ -84,7 +84,7 @@ jobs:
8484

8585
payment-service-build-and-push:
8686
runs-on: ubuntu-latest
87-
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/ci' || startsWith(github.ref, 'refs/tags/')
87+
if: github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/ci' || startsWith(github.ref, 'refs/tags/')
8888
defaults:
8989
run:
9090
working-directory: 3-payment-service
@@ -113,7 +113,7 @@ jobs:
113113
uses: docker/build-push-action@v5
114114
with:
115115
context: ./3-payment-service
116-
push: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/ci' || startsWith(github.ref, 'refs/tags/') }}
116+
push: ${{ github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/ci' || startsWith(github.ref, 'refs/tags/') }}
117117
tags: |
118118
${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}
119119
platforms: linux/amd64

0 commit comments

Comments
 (0)