File tree 3 files changed +1
-80
lines changed 3 files changed +1
-80
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,6 @@ name: Release Self-Hosted Backend
2
2
3
3
on :
4
4
workflow_call :
5
- inputs :
6
- tag_latest :
7
- description : " Tag image as latest"
8
- type : boolean
9
- required : true
10
5
outputs :
11
6
backend_x64_digest :
12
7
description : " x64 image digest"
85
80
matrix-step-name : build
86
81
outputs :
87
82
result : " ${{ steps.read.outputs.result }}"
88
-
89
- # push:
90
- # name: Push merged image manifest
91
- # needs: [read]
92
- # runs-on: ubuntu-latest
93
- # steps:
94
- # - name: Login to GitHub Container Registry
95
- # uses: docker/login-action@v2
96
- # with:
97
- # registry: ghcr.io
98
- # username: ${{ github.actor }}
99
- # password: ${{ secrets.GITHUB_TOKEN }}
100
-
101
- # - name: Set up Docker Buildx
102
- # uses: docker/setup-buildx-action@v3
103
-
104
- # - name: Push manifest
105
- # run: |
106
- # docker manifest create ghcr.io/get-convex/convex-backend:${{ github.sha }} \
107
- # --amend ghcr.io/get-convex/convex-backend@${{ fromJson(needs.read.outputs.result).digest['backend-x64'] }} \
108
- # --amend ghcr.io/get-convex/convex-backend@${{ fromJson(needs.read.outputs.result).digest['backend-arm64'] }}
109
- # docker manifest push ghcr.io/get-convex/convex-backend:${{ github.sha }}
110
-
111
- # if [[ "${{ inputs.tag_latest }}" == "true" ]]; then
112
- # docker manifest create ghcr.io/get-convex/convex-backend:latest \
113
- # --amend ghcr.io/get-convex/convex-backend@${{ fromJson(needs.read.outputs.result).digest['backend-x64'] }} \
114
- # --amend ghcr.io/get-convex/convex-backend@${{ fromJson(needs.read.outputs.result).digest['backend-arm64'] }}
115
- # docker manifest push ghcr.io/get-convex/convex-backend:latest
116
- # fi
Original file line number Diff line number Diff line change @@ -2,11 +2,6 @@ name: Release Self-Hosted Dashboard
2
2
3
3
on :
4
4
workflow_call :
5
- inputs :
6
- tag_latest :
7
- description : " Tag image as latest"
8
- type : boolean
9
- required : true
10
5
outputs :
11
6
dashboard_x64_digest :
12
7
description : " x64 image digest"
79
74
matrix-step-name : build
80
75
outputs :
81
76
result : " ${{ steps.read.outputs.result }}"
82
-
83
- # push:
84
- # name: Push merged image manifest
85
- # needs: [read]
86
- # runs-on: ubuntu-latest
87
- # steps:
88
- # - name: Login to GitHub Container Registry
89
- # uses: docker/login-action@v2
90
- # with:
91
- # registry: ghcr.io
92
- # username: ${{ github.actor }}
93
- # password: ${{ secrets.GITHUB_TOKEN }}
94
-
95
- # - name: Set up Docker Buildx
96
- # uses: docker/setup-buildx-action@v3
97
-
98
- # - name: Push manifest
99
- # run: |
100
- # docker manifest create ghcr.io/get-convex/convex-dashboard:${{ github.sha }} \
101
- # --amend ghcr.io/get-convex/convex-dashboard@${{ fromJson(needs.read.outputs.result).digest['dashboard-x64'] }} \
102
- # --amend ghcr.io/get-convex/convex-dashboard@${{ fromJson(needs.read.outputs.result).digest['dashboard-arm64'] }}
103
- # docker manifest push ghcr.io/get-convex/convex-dashboard:${{ github.sha }}
104
-
105
- # if [[ "${{ inputs.tag_latest }}" == "true" ]]; then
106
- # docker manifest create ghcr.io/get-convex/convex-dashboard:latest \
107
- # --amend ghcr.io/get-convex/convex-dashboard@${{ fromJson(needs.read.outputs.result).digest['dashboard-x64'] }} \
108
- # --amend ghcr.io/get-convex/convex-dashboard@${{ fromJson(needs.read.outputs.result).digest['dashboard-arm64'] }}
109
- # docker manifest push ghcr.io/get-convex/convex-dashboard:latest
110
- # fi
Original file line number Diff line number Diff line change 6
6
tag_latest :
7
7
description : " Tag images as latest"
8
8
type : boolean
9
- default : false
9
+ default : true
10
10
required : true
11
11
push :
12
12
branches :
18
18
release_backend :
19
19
uses : ./.github/workflows/release_local_backend.yml
20
20
with :
21
- # Do not tag docker images triggered by migrations as latest.
22
- tag_latest : false
23
21
permissions :
24
22
contents : read
25
23
packages : write
28
26
release_dashboard :
29
27
uses : ./.github/workflows/release_local_dashboard.yml
30
28
with :
31
- # Do not tag docker images yet
32
- tag_latest : false
33
29
permissions :
34
30
contents : read
35
31
packages : write
48
44
if : success()
49
45
runs-on : ubuntu-latest
50
46
steps :
51
- - name : Debug outputs
52
- run : |
53
- echo "Backend outputs:"
54
- echo "${{ toJson(needs.release_backend.outputs) }}"
55
- echo "Dashboard outputs:"
56
- echo "${{ toJson(needs.release_dashboard.outputs) }}"
57
-
58
47
- name : Login to GitHub Container Registry
59
48
uses : docker/login-action@v2
60
49
with :
You can’t perform that action at this time.
0 commit comments