39
39
needs : release_backend
40
40
uses : ./.github/workflows/test_self_hosted_backend.yml
41
41
with :
42
- image_digest_x64 : ${{ fromJson( needs.release_backend.outputs.result).digest['backend-x64'] }}
43
- image_digest_arm64 : ${{ fromJson( needs.release_backend.outputs.result).digest['backend-arm64'] }}
42
+ image_digest_x64 : ${{ needs.release_backend.outputs.backend_x64_digest }}
43
+ image_digest_arm64 : ${{ needs.release_backend.outputs.backend_arm64_digest }}
44
44
45
45
tag_images :
46
46
needs : [release_backend, release_dashboard, test_backend]
@@ -58,27 +58,27 @@ jobs:
58
58
- name : Tag and push backend manifest
59
59
run : |
60
60
docker manifest create ghcr.io/get-convex/convex-backend:${{ github.sha }} \
61
- --amend ghcr.io/get-convex/convex-backend@${{ fromJson( needs.release_backend.outputs.result).digest['backend-x64'] }} \
62
- --amend ghcr.io/get-convex/convex-backend@${{ fromJson( needs.release_backend.outputs.result).digest['backend-arm64'] }}
61
+ --amend ghcr.io/get-convex/convex-backend@${{ needs.release_backend.outputs.backend_x64_digest }} \
62
+ --amend ghcr.io/get-convex/convex-backend@${{ needs.release_backend.outputs.backend_arm64_digest }}
63
63
docker manifest push ghcr.io/get-convex/convex-backend:${{ github.sha }}
64
64
65
65
if [[ "${{ github.event_name == 'workflow_dispatch' && inputs.tag_latest || false }}" == "true" ]]; then
66
66
docker manifest create ghcr.io/get-convex/convex-backend:latest \
67
- --amend ghcr.io/get-convex/convex-backend@${{ fromJson( needs.release_backend.outputs.result).digest['backend-x64'] }} \
68
- --amend ghcr.io/get-convex/convex-backend@${{ fromJson( needs.release_backend.outputs.result).digest['backend-arm64'] }}
67
+ --amend ghcr.io/get-convex/convex-backend@${{ needs.release_backend.outputs.backend_x64_digest }} \
68
+ --amend ghcr.io/get-convex/convex-backend@${{ needs.release_backend.outputs.backend_arm64_digest }}
69
69
docker manifest push ghcr.io/get-convex/convex-backend:latest
70
70
fi
71
71
72
72
- name : Tag and push dashboard manifest
73
73
run : |
74
74
docker manifest create ghcr.io/get-convex/convex-dashboard:${{ github.sha }} \
75
- --amend ghcr.io/get-convex/convex-dashboard@${{ fromJson( needs.release_dashboard.outputs.result).digest['dashboard-x64'] }} \
76
- --amend ghcr.io/get-convex/convex-dashboard@${{ fromJson( needs.release_dashboard.outputs.result).digest['dashboard-arm64'] }}
75
+ --amend ghcr.io/get-convex/convex-dashboard@${{ needs.release_dashboard.outputs.dashboard_x64_digest }} \
76
+ --amend ghcr.io/get-convex/convex-dashboard@${{ needs.release_dashboard.outputs.dashboard_arm64_digest }}
77
77
docker manifest push ghcr.io/get-convex/convex-dashboard:${{ github.sha }}
78
78
79
79
if [[ "${{ github.event_name == 'workflow_dispatch' && inputs.tag_latest || false }}" == "true" ]]; then
80
80
docker manifest create ghcr.io/get-convex/convex-dashboard:latest \
81
- --amend ghcr.io/get-convex/convex-dashboard@${{ fromJson( needs.release_dashboard.outputs.result).digest['dashboard-x64'] }} \
82
- --amend ghcr.io/get-convex/convex-dashboard@${{ fromJson( needs.release_dashboard.outputs.result).digest['dashboard-arm64'] }}
81
+ --amend ghcr.io/get-convex/convex-dashboard@${{ needs.release_dashboard.outputs.dashboard_x64_digest }} \
82
+ --amend ghcr.io/get-convex/convex-dashboard@${{ needs.release_dashboard.outputs.dashboard_arm64_digest }}
83
83
docker manifest push ghcr.io/get-convex/convex-dashboard:latest
84
84
fi
0 commit comments