From 0e311b81853152861622a4382283b8d558fe801c Mon Sep 17 00:00:00 2001 From: chuckcharlie Date: Wed, 27 Jul 2022 15:01:22 -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 bdab1d1..25e956d 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 $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 + - docker manifest create chuckcharlie/$IMAGE_REPO_NAME chuckcharlie/$IMAGE_REPO_NAME:latest-arm64 chuckcharlie/$IMAGE_REPO_NAME:latest-amd64 + - docker manifest annotate --arch arm64 chuckcharlie/$IMAGE_REPO_NAME chuckcharlie/$IMAGE_REPO_NAME:latest-arm64 + - docker manifest annotate --arch amd64 chuckcharlie/$IMAGE_REPO_NAME chuckcharlie/$IMAGE_REPO_NAME:latest-amd64 post_build: commands: - echo Build completed on `date` - echo Pushing the Docker image... - - docker manifest push $DOCKERHUB_USERNAME/$IMAGE_REPO_NAME - - docker manifest inspect $DOCKERHUB_USERNAME/$IMAGE_REPO_NAME + - docker manifest push chuckcharlie/$IMAGE_REPO_NAME + - docker manifest inspect chuckcharlie/$IMAGE_REPO_NAME