From 807e57844506ac13928af6b36a5e20bfe55cacdb Mon Sep 17 00:00:00 2001 From: chuckcharlie Date: Wed, 27 Jul 2022 14:50:42 -0600 Subject: [PATCH] Update buildspec-manifest.yml --- buildspec-manifest.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/buildspec-manifest.yml b/buildspec-manifest.yml index e9741eb..bdab1d1 100644 --- a/buildspec-manifest.yml +++ b/buildspec-manifest.yml @@ -19,13 +19,13 @@ phases: - echo Build started on `date` - echo Building the Docker manifest... - export DOCKER_CLI_EXPERIMENTAL=enabled - - docker manifest create $IMAGE_REPO_NAME $IMAGE_REPO_NAME:latest-arm64 $IMAGE_REPO_NAME:latest-amd64 - - docker manifest annotate --arch arm64 $IMAGE_REPO_NAME $IMAGE_REPO_NAME:latest-arm64 - - docker manifest annotate --arch amd64 $IMAGE_REPO_NAME $IMAGE_REPO_NAME:latest-amd64 + - docker manifest create $DOCKERHUB_USERNAME/$IMAGE_REPO_NAME $DOCKERHUB_USERNAME/$IMAGE_REPO_NAME:latest-arm64 $DOCKERHUB_USERNAME/$IMAGE_REPO_NAME:latest-amd64 + - docker manifest annotate --arch arm64 $DOCKERHUB_USERNAME/$IMAGE_REPO_NAME $DOCKERHUB_USERNAME/$IMAGE_REPO_NAME:latest-arm64 + - docker manifest annotate --arch amd64 $DOCKERHUB_USERNAME/$IMAGE_REPO_NAME $DOCKERHUB_USERNAME/$IMAGE_REPO_NAME:latest-amd64 post_build: commands: - echo Build completed on `date` - echo Pushing the Docker image... - - docker manifest push $IMAGE_REPO_NAME - - docker manifest inspect $IMAGE_REPO_NAME + - docker manifest push $DOCKERHUB_USERNAME/$IMAGE_REPO_NAME + - docker manifest inspect $DOCKERHUB_USERNAME/$IMAGE_REPO_NAME