Skip to content

Commit f16725d

Browse files
authored
Update cd-dgraph.yml for manifest for custom-build
1 parent 4deb734 commit f16725d

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

.github/workflows/cd-dgraph.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -234,21 +234,22 @@ jobs:
234234
- name: Docker Manifest
235235
run: |
236236
if [ "${{ github.event.inputs.custom-build }}" == "true" ]; then
237-
docker manifest create dgraph/dgraph-custom:${{ env.DGRAPH_RELEASE_VERSION }} --amend dgraph/dgraph-custom:${{ env.DGRAPH_RELEASE_VERSION }}-amd64 --amend dgraph/dgraph-custom:${{ env.DGRAPH_RELEASE_VERSION }}-arm64
238-
docker manifest push dgraph/dgraph-custom:${{ env.DGRAPH_RELEASE_VERSION }}
237+
docker manifest create dgraph/dgraph-custom:${{ env.DGRAPH_RELEASE_VERSION }} --amend dgraph/dgraph-custom:${{ env.DGRAPH_RELEASE_VERSION }}-amd64 --amend dgraph/dgraph-custom:${{ env.DGRAPH_RELEASE_VERSION }}-arm64
238+
docker manifest push dgraph/dgraph-custom:${{ env.DGRAPH_RELEASE_VERSION }}
239239
else
240-
# standalone
240+
# standalone
241241
docker manifest create dgraph/standalone:${{ env.DGRAPH_RELEASE_VERSION }} --amend dgraph/standalone:${{ env.DGRAPH_RELEASE_VERSION }}-amd64 --amend dgraph/standalone:${{ env.DGRAPH_RELEASE_VERSION }}-arm64
242242
docker manifest push dgraph/standalone:${{ env.DGRAPH_RELEASE_VERSION }}
243-
if [ "${{ github.event.inputs.latest }}" == "true" ]; then
244-
docker manifest create dgraph/standalone:latest --amend dgraph/standalone:${{ env.DGRAPH_RELEASE_VERSION }}-amd64 --amend dgraph/standalone:${{ env.DGRAPH_RELEASE_VERSION }}-arm64
245-
docker manifest push dgraph/standalone:latest
246-
fi
247-
# dgraph
243+
if [ "${{ github.event.inputs.latest }}" == "true" ]; then
244+
docker manifest create dgraph/standalone:latest --amend dgraph/standalone:${{ env.DGRAPH_RELEASE_VERSION }}-amd64 --amend dgraph/standalone:${{ env.DGRAPH_RELEASE_VERSION }}-arm64
245+
docker manifest push dgraph/standalone:latest
246+
fi
247+
# dgraph
248248
docker manifest create dgraph/dgraph:${{ env.DGRAPH_RELEASE_VERSION }} --amend dgraph/dgraph:${{ env.DGRAPH_RELEASE_VERSION }}-amd64 --amend dgraph/dgraph:${{ env.DGRAPH_RELEASE_VERSION }}-arm64
249249
docker manifest push dgraph/dgraph:${{ env.DGRAPH_RELEASE_VERSION }}
250-
if [ "${{ github.event.inputs.latest }}" == "true" ]; then
251-
docker manifest create dgraph/dgraph:latest --amend dgraph/dgraph:${{ env.DGRAPH_RELEASE_VERSION }}-amd64 --amend dgraph/dgraph:${{ env.DGRAPH_RELEASE_VERSION }}-arm64
252-
docker manifest push dgraph/dgraph:latest
250+
if [ "${{ github.event.inputs.latest }}" == "true" ]; then
251+
docker manifest create dgraph/dgraph:latest --amend dgraph/dgraph:${{ env.DGRAPH_RELEASE_VERSION }}-amd64 --amend dgraph/dgraph:${{ env.DGRAPH_RELEASE_VERSION }}-arm64
252+
docker manifest push dgraph/dgraph:latest
253+
fi
253254
fi
254255

0 commit comments

Comments
 (0)