24
24
steps :
25
25
- name : Checkout repository
26
26
uses : actions/checkout@v4
27
+ with :
28
+ repository : ${{ github.repository_owner }}/refinery-submodule-parent-images
29
+ ref : ${{ github.event.pull_request.head.ref }}
27
30
28
31
- name : GitHub Configuration
29
32
run : git config --global url."https://oauth2:${{ secrets.GH_TOKEN }}@github.com".insteadOf https://github.com
65
68
with :
66
69
repository : ' ${{ github.repository_owner }}/refinery-${{ matrix.parent_image_type }}-parent-image'
67
70
submodules : ' true'
71
+
72
+ - name : Update submodules
73
+ run : |
74
+ ls -l
75
+ cd ..
76
+ ls -l
77
+
68
78
69
79
- name : Set up Docker Buildx
70
80
uses : docker/setup-buildx-action@v3
86
96
- name : Build & Push refinery-${{ matrix.parent_image_type }}-parent-image:dev
87
97
uses : docker/build-push-action@v5
88
98
with :
99
+ context : .
89
100
cache-from : type=registry,ref=${{ env.DEV_CONTAINER_REGISTRY }}/refinery-parent-images:dev-${{ matrix.parent_image_type }}-cache
90
101
cache-to : type=registry,ref=${{ env.DEV_CONTAINER_REGISTRY }}/refinery-parent-images:dev-${{ matrix.parent_image_type }}-cache,mode=max,image-manifest=true
91
102
platforms : linux/amd64
99
110
- name : Build & Push refinery-${{ matrix.parent_image_type }}-parent-image:dev-arm64
100
111
uses : docker/build-push-action@v5
101
112
with :
113
+ context : .
102
114
cache-from : type=registry,ref=${{ env.DEV_CONTAINER_REGISTRY }}/refinery-parent-images:dev-${{ matrix.parent_image_type }}-arm64-cache
103
115
cache-to : type=registry,ref=${{ env.DEV_CONTAINER_REGISTRY }}/refinery-parent-images:dev-${{ matrix.parent_image_type }}-arm64-cache,mode=max,image-manifest=true
104
116
platforms : linux/arm64
@@ -112,6 +124,7 @@ jobs:
112
124
- name : Build & Push refinery-${{ matrix.parent_image_type }}-parent-image:sha
113
125
uses : docker/build-push-action@v5
114
126
with :
127
+ context : .
115
128
cache-from : type=registry,ref=${{ env.DEV_CONTAINER_REGISTRY }}/refinery-parent-images:${{ github.sha }}-${{ matrix.parent_image_type }}-cache
116
129
cache-to : type=registry,ref=${{ env.DEV_CONTAINER_REGISTRY }}/refinery-parent-images:${{ github.sha }}-${{ matrix.parent_image_type }}-cache,mode=max,image-manifest=true
117
130
platforms : linux/amd64
@@ -125,6 +138,7 @@ jobs:
125
138
- name : Build & Push refinery-${{ matrix.parent_image_type }}-parent-image:sha-arm64
126
139
uses : docker/build-push-action@v5
127
140
with :
141
+ context : .
128
142
cache-from : type=registry,ref=${{ env.DEV_CONTAINER_REGISTRY }}/refinery-parent-images:${{ github.sha }}-${{ matrix.parent_image_type }}-arm64-cache
129
143
cache-to : type=registry,ref=${{ env.DEV_CONTAINER_REGISTRY }}/refinery-parent-images:${{ github.sha }}-${{ matrix.parent_image_type }}-arm64-cache,mode=max,image-manifest=true
130
144
platforms : linux/arm64
0 commit comments