summaryrefslogtreecommitdiff
path: root/.expeditor/docker-manifest-create.sh
blob: 7a2da6cdd63e51ea39980215363d21f607252f25 (plain)
1
2
3
4
5
6
7
8
9
10
11
#! /bin/bash

export DOCKER_CLI_EXPERIMENTAL=enabled

echo "--- Creating chef/chef:${EXPEDITOR_VERSION} multiarch manifest"
docker manifest create "chef/chef:${EXPEDITOR_VERSION}" \
  --amend "chef/chef:${EXPEDITOR_VERSION}-amd64" \
  --amend "chef/chef:${EXPEDITOR_VERSION}-arm64"

echo "--- Pushing chef/chef:${EXPEDITOR_VERSION} multiarch manifest"
docker manifest push "chef/chef:${EXPEDITOR_VERSION}"