@@ -24,13 +24,13 @@ jobs:
2424 - name : golangci-lint
2525 uses : golangci/golangci-lint-action@v3
2626 with :
27- working-directory : docker/demo -bundled/bootstrap
27+ working-directory : docker/devbox -bundled/bootstrap
2828 - name : Check formatting
29- working-directory : docker/demo -bundled/bootstrap
29+ working-directory : docker/devbox -bundled/bootstrap
3030 run : |
3131 make check-fmt
3232 - name : Test
33- working-directory : docker/demo -bundled/bootstrap
33+ working-directory : docker/devbox -bundled/bootstrap
3434 run : |
3535 make test
3636
7070 uses : docker/setup-buildx-action@v2
7171 - name : Setup destination directories for image tarballs
7272 run : |
73- mkdir -p docker/demo -bundled/images/tar/{arm64,amd64}
73+ mkdir -p docker/devbox -bundled/images/tar/{arm64,amd64}
7474 - name : Export ARM64 Image
7575 uses : docker/build-push-action@v6
7676 with :
8181 FLYTECONSOLE_VERSION=${{ env.FLYTECONSOLE_VERSION }}
8282 FLYTE_VERSION=${{ env.FLYTE_VERSION }}
8383 file : Dockerfile
84- outputs : type=docker,dest=docker/demo -bundled/images/tar/arm64/flyte-binary.tar
84+ outputs : type=docker,dest=docker/devbox -bundled/images/tar/arm64/flyte-binary.tar
8585 - name : Export AMD64 Image
8686 uses : docker/build-push-action@v6
8787 with :
@@ -92,12 +92,12 @@ jobs:
9292 FLYTECONSOLE_VERSION=${{ env.FLYTECONSOLE_VERSION }}
9393 FLYTE_VERSION=${{ env.FLYTE_VERSION }}
9494 file : Dockerfile
95- outputs : type=docker,dest=docker/demo -bundled/images/tar/amd64/flyte-binary.tar
95+ outputs : type=docker,dest=docker/devbox -bundled/images/tar/amd64/flyte-binary.tar
9696 - name : Upload single binary image
9797 uses : actions/upload-artifact@v4
9898 with :
9999 name : single-binary-image
100- path : docker/demo -bundled/images/tar
100+ path : docker/devbox -bundled/images/tar
101101 - name : Login to GitHub Container Registry
102102 if : ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
103103 uses : docker/login-action@v2
@@ -118,7 +118,7 @@ jobs:
118118 file : Dockerfile
119119 push : true
120120
121- build-and-push-demo -bundled-image :
121+ build-and-push-devbox -bundled-image :
122122 runs-on : ubuntu-latest
123123 needs : [build-and-push-single-binary-image]
124124 steps :
@@ -127,7 +127,7 @@ jobs:
127127 - uses : actions/download-artifact@v4
128128 with :
129129 name : single-binary-image
130- path : docker/demo -bundled/images/tar
130+ path : docker/devbox -bundled/images/tar
131131 - name : Set up QEMU
132132 uses : docker/setup-qemu-action@v2
133133 - name : Set up Docker Buildx
@@ -138,18 +138,20 @@ jobs:
138138 - name : Set version
139139 id : set_version
140140 run : |
141- echo "FLYTE_DEMO_VERSION =${{ github.sha }}" >> $GITHUB_ENV
141+ echo "FLYTE_DEVBOX_VERSION =${{ github.sha }}" >> $GITHUB_ENV
142142 - name : Prepare Image Names
143143 id : image-names
144144 uses : docker/metadata-action@v3
145145 with :
146- # Push to both flyte-demo and flyte-sandbox-v2 (legacy name)
146+ # Push to both flyte-devbox and flyte-sandbox-v2 (legacy name)
147147 # so existing users pulling the old image continue to work.
148148 images : |
149149 ghcr.io/${{ github.repository_owner }}/flyte-demo
150+ ghcr.io/${{ github.repository_owner }}/flyte-devbox
150151 ghcr.io/${{ github.repository_owner }}/flyte-sandbox-v2
151152 tags : |
152153 type=raw,value=nightly,enable=${{ github.event_name == 'push' && github.ref == 'refs/heads/v2' }}
154+ type=raw,value=latest,enable=${{ github.event_name == 'workflow_dispatch' }}
153155 type=sha,format=long,
154156 - name : Login to GitHub Container Registry
155157 if : ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
@@ -165,10 +167,10 @@ jobs:
165167 # resolve a ghcr-hosted FROM.
166168 uses : docker/build-push-action@v6
167169 with :
168- context : docker/demo -bundled
170+ context : docker/devbox -bundled
169171 allow : " security.insecure"
170172 platforms : linux/arm64, linux/amd64
171- build-args : " FLYTE_DEMO_VERSION =${{ env.FLYTE_DEMO_VERSION }}"
173+ build-args : " FLYTE_DEVBOX_VERSION =${{ env.FLYTE_DEVBOX_VERSION }}"
172174 outputs : type=oci,dest=/tmp/cpu-oci.tar
173175 cache-from : type=gha,scope=demo-cpu
174176 cache-to : type=gha,mode=max,scope=demo-cpu
@@ -180,37 +182,38 @@ jobs:
180182 if : ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
181183 uses : docker/build-push-action@v6
182184 with :
183- context : docker/demo -bundled
185+ context : docker/devbox -bundled
184186 allow : " security.insecure"
185187 platforms : linux/arm64, linux/amd64
186188 tags : ${{ steps.image-names.outputs.tags }}
187- build-args : " FLYTE_DEMO_VERSION =${{ env.FLYTE_DEMO_VERSION }}"
189+ build-args : " FLYTE_DEVBOX_VERSION =${{ env.FLYTE_DEVBOX_VERSION }}"
188190 push : true
189191 cache-from : type=gha,scope=demo-cpu
190192 - name : Prepare GPU Image Names
191193 id : gpu-image-names
192194 uses : docker/metadata-action@v3
193195 with :
194196 images : |
197+ ghcr.io/${{ github.repository_owner }}/flyte-devbox
195198 ghcr.io/${{ github.repository_owner }}/flyte-demo
196199 ghcr.io/${{ github.repository_owner }}/flyte-sandbox-v2
197200 tags : |
198- type=raw,value=gpu-latest,enable=${{ github.event_name == 'push' && github.ref == 'refs/heads/v2' }}
199201 type=raw,value=gpu-nightly,enable=${{ github.event_name == 'push' && github.ref == 'refs/heads/v2' }}
202+ type=raw,value=gpu-latest,enable=${{ github.event_name == 'workflow_dispatch' }}
200203 type=sha,format=long,prefix=gpu-
201204 - name : Build and push GPU multi-arch image
202205 uses : docker/build-push-action@v6
203206 with :
204- context : docker/demo -bundled
205- file : docker/demo -bundled/Dockerfile.gpu
207+ context : docker/devbox -bundled
208+ file : docker/devbox -bundled/Dockerfile.gpu
206209 # Point Dockerfile.gpu's `FROM ${BASE_IMAGE}` at the OCI archive
207210 # produced above — no registry round-trip needed.
208211 build-contexts : base=oci-layout:///tmp/cpu-oci
209212 allow : " security.insecure"
210213 platforms : linux/arm64, linux/amd64
211214 tags : ${{ steps.gpu-image-names.outputs.tags }}
212215 build-args : |
213- FLYTE_DEMO_VERSION =${{ env.FLYTE_DEMO_VERSION }}
216+ FLYTE_DEVBOX_VERSION =${{ env.FLYTE_DEVBOX_VERSION }}
214217 BASE_IMAGE=base
215218 push : ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
216219 cache-from : type=gha,scope=demo-gpu
0 commit comments