Skip to content

Commit

Permalink
add docker type
Browse files Browse the repository at this point in the history
  • Loading branch information
carminevassallo committed Jan 31, 2025
1 parent 6ecc65e commit eb1dd6c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .cirrus/tasks_gcp_marketplace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ build_gcp_app_template: &BUILD_GCP_APP_TEMPLATE
- ./.cirrus/build_chart_dependencies.sh charts/sonarqube-dce
tag_and_promote_script:
- export CURRENT_MINOR_VERSION=$(echo ${GCLOUD_TAG} | cut -d '.' -f 1,2)
- docker buildx create --use
- docker buildx build --platform linux/amd64 --annotation "index,manifest,manifest-descriptor,index-descriptor:com.googleapis.cloudmarketplace.product.service.name=services/official-sonarqube-data-center-edition.endpoints.sonarsource-public.cloud.goog" -f google-cloud-marketplace-k8s-app/Dockerfile --build-arg REGISTRY=${GCLOUD_REGISTRY} --build-arg TAG=${GCLOUD_TAG} --tag ${GCLOUD_REGISTRY}/${GCLOUD_PRODUCT_NAME}/deployer:${CURRENT_MINOR_VERSION} --tag ${GCLOUD_REGISTRY}/${GCLOUD_PRODUCT_NAME}/deployer:${GCLOUD_TAG} --push .
- docker buildx create --driver=docker-container --use
- docker buildx build --platform linux/amd64 --provenance=false --annotation "manifest,manifest-descriptor:com.googleapis.cloudmarketplace.product.service.name=services/official-sonarqube-data-center-edition.endpoints.sonarsource-public.cloud.goog" -f google-cloud-marketplace-k8s-app/Dockerfile --build-arg REGISTRY=${GCLOUD_REGISTRY} --build-arg TAG=${GCLOUD_TAG} --tag ${GCLOUD_REGISTRY}/${GCLOUD_PRODUCT_NAME}/deployer:${CURRENT_MINOR_VERSION} --tag ${GCLOUD_REGISTRY}/${GCLOUD_PRODUCT_NAME}/deployer:${GCLOUD_TAG} --push .

build_gcp_staging_app_task:
<<: *BUILD_GCP_APP_TEMPLATE
Expand Down Expand Up @@ -65,5 +65,5 @@ release_gcp_prod_app_task:
env:
GCLOUD_REGISTRY: gcr.io/sonarsource-public
GCLOUD_PRODUCT_NAME: official-sonarqube-data-center-edition
# depends_on:
# - verify_gcp_staging_app
depends_on:
- verify_gcp_staging_app

0 comments on commit eb1dd6c

Please sign in to comment.