@@ -143,27 +143,27 @@ jobs:
143143 - name : Check out repository
144144 run : git clone '${{ env.SOURCE_REPOSITORY }}'
145145# ### Custom s2i builder image for CAS API
146- - name : Build custom s2i builder image
147- run : |
148- docker build -t ghcr.io/${{ env.IMAGE_REGISTRY }}/casinterface-custom-s2i:latest ./EDUC-HUB
149-
150- - name : Login to GitHub Container Registry
151- uses : docker/login-action@v1
152- with :
153- registry : ${{ env.IMAGE_REGISTRY }}
154- username : ${{ env.IMAGE_REGISTRY_USER }}
155- password : ${{ env.IMAGE_REGISTRY_PASSWORD }}
156-
157- - name : Push custom s2i builder image
158- run : |
159- docker push ghcr .io/${{ env.IMAGE_REGISTRY }}/casinterface-custom-s2i:latest
146+ # - name: Build custom s2i builder image
147+ # run: |
148+ # docker build -t ghcr.io/${{ env.IMAGE_REGISTRY }}/casinterface-custom-s2i:latest ./EDUC-HUB
149+
150+ # - name: Login to GitHub Container Registry
151+ # uses: docker/login-action@v1
152+ # with:
153+ # registry: ${{ env.IMAGE_REGISTRY }}
154+ # username: ${{ env.IMAGE_REGISTRY_USER }}
155+ # password: ${{ env.IMAGE_REGISTRY_PASSWORD }}
156+
157+ # - name: Push custom s2i builder image
158+ # run: |
159+ # docker push github .io/${{ env.IMAGE_REGISTRY }}/casinterface-custom-s2i:latest
160160# ### End of custom s2i builder image for CAS API
161161 - name : Setup and Build cas api
162162 id : build-image-cas
163163 uses : redhat-actions/s2i-build@v2
164164 with :
165165 path_context : ./EDUC-HUB
166- builder_image : ${{ env.IMAGE_REGISTRY }}/casinterface-custom-s2i:latest
166+ builder_image : registry.redhat.io/dotnet/dotnet-21-rhel7
167167 image : ' ${{env.APP_NAME_CAS}}'
168168 tags : ${{ env.TAG }}
169169 env_vars : |
0 commit comments