Skip to content

Commit 8342c8c

Browse files
committed
perf: include submodules to az workflows
1 parent d11b5ae commit 8342c8c

File tree

4 files changed

+17
-5
lines changed

4 files changed

+17
-5
lines changed

.github/workflows/az_acr_push.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,12 @@ jobs:
2323
steps:
2424
- name: Checkout repository
2525
uses: actions/checkout@v4
26+
with:
27+
submodules: 'true'
2628

29+
- name: Set up QEMU dependency
30+
uses: docker/setup-qemu-action@v1
31+
2732
- name: Set up Docker Buildx
2833
uses: docker/setup-buildx-action@v3
2934

.github/workflows/az_acr_release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ jobs:
1717
steps:
1818
- name: Checkout repository
1919
uses: actions/checkout@v4
20-
20+
with:
21+
submodules: 'true'
22+
2123
- name: Set up Docker Buildx
2224
uses: docker/setup-buildx-action@v3
23-
25+
2426
- name: Log into registry
2527
uses: docker/login-action@v3
2628
with:

.github/workflows/az_acr_test.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,16 @@ jobs:
1515
steps:
1616
- name: Checkout repository
1717
uses: actions/checkout@v4
18+
with:
19+
submodules: 'true'
20+
1821
- name: Configure branch name
1922
id: branch_name
20-
run: echo "GH_REF_NAME=${${{ github.ref_name }}//\//-}" >> $GITHUB_OUTPUT
23+
run: echo "GH_REF_NAME=$(echo ${{ github.ref_name }} | sed 's|/|-|g')" >> $GITHUB_OUTPUT
24+
2125
- name: Set up Docker Buildx
22-
uses: docker/setup-buildx-action@v3
26+
uses: docker/setup-buildx-action@v3
27+
2328
- name: Log into registry
2429
uses: docker/login-action@v3
2530
with:

.github/workflows/k8s_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040

4141
- name: Configure branch name
4242
id: branch_name
43-
run: echo "GH_REF_NAME=${${{ github.ref_name }}//\//-}" >> $GITHUB_OUTPUT
43+
run: echo "GH_REF_NAME=$(echo ${{ github.ref_name }} | sed 's|/|-|g')" >> $GITHUB_OUTPUT
4444

4545
- name: GitHub Configuration
4646
run: git config --global url."https://oauth2:${{ secrets.GH_TOKEN }}@github.com".insteadOf https://github.com

0 commit comments

Comments
 (0)