@@ -170,7 +170,7 @@ jobs:
170170 cache-from : type=gha
171171 cache-to : type=gha,mode=max
172172
173- build-and-push-flyteagent -images :
173+ build-and-push-flyteconnector -images :
174174 runs-on : ubuntu-latest
175175 needs : deploy
176176 steps :
@@ -189,50 +189,50 @@ jobs:
189189 registry : ghcr.io
190190 username : " ${{ secrets.FLYTE_BOT_USERNAME }}"
191191 password : " ${{ secrets.FLYTE_BOT_PAT }}"
192- - name : Prepare Flyte Agent Slim Image Names
193- id : flyteagent -slim-names
192+ - name : Prepare Flyte Connector Slim Image Names
193+ id : flyteconnector -slim-names
194194 uses : docker/metadata-action@v3
195195 with :
196196 images : |
197- ghcr.io/${{ github.repository_owner }}/flyteagent -slim
197+ ghcr.io/${{ github.repository_owner }}/flyteconnector -slim
198198 tags : |
199199 latest
200200 ${{ github.sha }}
201201 ${{ needs.deploy.outputs.version }}
202- - name : Prepare Flyte Agent Image Names
203- id : flyteagent -names
202+ - name : Prepare Flyte Connector Image Names
203+ id : flyteconnector -names
204204 uses : docker/metadata-action@v3
205205 with :
206206 images : |
207- ghcr.io/${{ github.repository_owner }}/flyteagent
207+ ghcr.io/${{ github.repository_owner }}/flyteconnector
208208 tags : |
209209 latest
210210 ${{ github.sha }}
211211 ${{ needs.deploy.outputs.version }}
212- - name : Push flyteagent -slim Image to GitHub Registry
212+ - name : Push flyteconnector -slim Image to GitHub Registry
213213 uses : docker/build-push-action@v2
214214 with :
215215 context : " ."
216216 platforms : linux/arm64, linux/amd64
217217 target : connector-slim
218218 push : ${{ github.event_name == 'release' }}
219- tags : ${{ steps.flyteagent -slim-names.outputs.tags }}
219+ tags : ${{ steps.flyteconnector -slim-names.outputs.tags }}
220220 build-args : |
221221 VERSION=${{ needs.deploy.outputs.version }}
222222 file : ./Dockerfile.connector
223223 cache-from : type=gha
224224 cache-to : type=gha,mode=max
225- - name : Confirm Agent can start
225+ - name : Confirm Connector can start
226226 run : |
227- docker run --rm ghcr.io/${{ github.repository_owner }}/flyteagent -slim:${{ github.sha }} pyflyte serve agent --port 8000 --timeout 1
228- - name : Push flyteagent -all Image to GitHub Registry
227+ docker run --rm ghcr.io/${{ github.repository_owner }}/flyteconnector -slim:${{ github.sha }} pyflyte serve connector --port 8000 --timeout 1
228+ - name : Push flyteconnector -all Image to GitHub Registry
229229 uses : docker/build-push-action@v2
230230 with :
231231 context : " ."
232232 platforms : linux/arm64, linux/amd64
233- target : agent -all
233+ target : connector -all
234234 push : ${{ github.event_name == 'release' }}
235- tags : ${{ steps.flyteagent -names.outputs.tags }}
235+ tags : ${{ steps.flyteconnector -names.outputs.tags }}
236236 build-args : |
237237 VERSION=${{ needs.deploy.outputs.version }}
238238 file : ./Dockerfile.connector
0 commit comments