Skip to content

Commit b2a1bf2

Browse files
committed
Add submodule to workflow checkout
1 parent 7a57bf0 commit b2a1bf2

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/build-oci.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
21
name: ci
32

43
on:
54
push:
6-
branches:
7-
- main
5+
branches:
6+
- main
87

98
env:
109
REGISTRY: ghcr.io
@@ -16,20 +15,22 @@ jobs:
1615
steps:
1716
- name: Checkout
1817
uses: actions/checkout@v3
19-
18+
with:
19+
submodules: recursive
20+
2021
- name: Log in to the Container registry
2122
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
2223
with:
2324
registry: ${{ env.REGISTRY }}
2425
username: ${{ github.actor }}
2526
password: ${{ secrets.GITHUB_TOKEN }}
26-
27+
2728
- name: Extract metadata (tags, labels) for Docker
2829
id: meta
2930
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
3031
with:
31-
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
32-
32+
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
33+
3334
- name: Set up QEMU
3435
uses: docker/setup-qemu-action@master
3536
with:

0 commit comments

Comments
 (0)