@@ -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