Skip to content

Commit 2573b12

Browse files
committed
ci: TEMPORARY export the arm64 image for a smoke deploy (drop before review)
1 parent 5214b90 commit 2573b12

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

‎.github/workflows/lambda-arm64-image.yml‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,3 +139,16 @@ jobs:
139139
docker logs hf-video
140140
echo "$reply"
141141
grep -q 'no recognised Action' <<<"$reply"
142+
# TEMPORARY (dropped before review): export the image as OCI for a real-AWS arm64 smoke deploy.
143+
- name: Export OCI image for smoke deploy
144+
run: |
145+
docker buildx create --use
146+
docker buildx build --progress=plain --platform linux/arm64 --target video \
147+
--provenance=false --sbom=false --build-context task=staged/task \
148+
--output type=oci,dest=video-arm64.oci.tar packages/aws-lambda/image
149+
sha256sum video-arm64.oci.tar
150+
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
151+
with:
152+
name: video-arm64-oci
153+
path: video-arm64.oci.tar
154+
retention-days: 1

0 commit comments

Comments
 (0)