Version and architecture tags

This commit is contained in:
chuckcharlie
2022-08-19 10:01:44 -06:00
committed by GitHub
parent ddccd42894
commit 16a7a5ccf4

View File

@@ -18,7 +18,7 @@ phases:
- echo Build started on `date`
- echo Building the Docker image...
- VERSION=$(cat version.txt)
- docker build -t $DOCKERHUB_USERNAME/$IMAGE_REPO_NAME:$VERSION -t $DOCKERHUB_USERNAME/$IMAGE_REPO_NAME:$IMAGE_TAG .
- docker build -t $DOCKERHUB_USERNAME/$IMAGE_REPO_NAME:$VERSION-$ARCH -t $DOCKERHUB_USERNAME/$IMAGE_REPO_NAME:$IMAGE_TAG-$ARCH .
post_build:
commands:
- echo Build completed on `date`