File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -683,28 +683,6 @@ docker tag cipherstash/proxy:latest cipherstash/proxy:latest
683683docker push cipherstash/proxy:latest
684684"""
685685
686- [tasks ."release:aws-marketplace" ]
687- description = " Release a Docker image to AWS Marketplace for cipherstash-proxy"
688- run = """
689- if [ -z "$AWS_MARKETPLACE_ECR_REPOSITORY" ]; then
690- echo "error: no AWS ECR repository provided"
691- echo "error: please set AWS_MARKETPLACE_ECR_REPOSITORY"
692- exit 2
693- fi
694-
695- # If release tag is empty, generate a build timestamp
696- # Release tag is set when tagging as an actual version github release.
697- if [ -z "$RELEASE_TAG" ]; then
698- RELEASE_TAG=build-$(date +%s)
699- fi
700-
701- echo $AWS_MARKETPLACE_ECR_REPOSITORY:proxy-$BUILD_TAG-$RELEASE_TAG
702-
703- docker tag cipherstash/proxy:latest $AWS_MARKETPLACE_ECR_REPOSITORY:proxy-$BUILD_TAG-$RELEASE_TAG
704-
705- docker push $AWS_MARKETPLACE_ECR_REPOSITORY:proxy-$BUILD_TAG-$RELEASE_TAG
706- """
707-
708686# ====================================================================================================
709687
710688
You can’t perform that action at this time.
0 commit comments