From d875d928d7791b6758ed4b3031bc20032ff40c66 Mon Sep 17 00:00:00 2001 From: ShahanaFarooqui Date: Mon, 24 Jun 2024 22:32:42 -0700 Subject: [PATCH] Update trigger tag regex --- .circleci/config.yml | 61 ---------------------------- .github/workflows/docker-release.yml | 3 +- 2 files changed, 1 insertion(+), 63 deletions(-) delete mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 4f560114..00000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,61 +0,0 @@ -version: 2.1 - -executors: - docker-executor: - docker: - - image: circleci/python:3.8 - -jobs: - setup-docker-buildx: - executor: docker-executor - steps: - - setup_remote_docker: - version: 20.10.7 - experimental: true - - run: - name: Set up QEMU - command: | - docker run --rm --privileged multiarch/qemu-user-static --reset -p yes - - run: - name: Set up Buildx - command: | - docker buildx create --use - docker buildx inspect --bootstrap - - publish_docker: - executor: docker-executor - steps: - - setup_remote_docker: - version: 20.10.7 - experimental: true - - checkout - - run: - name: Set up QEMU - command: | - docker run --rm --privileged multiarch/qemu-user-static --reset -p yes - - run: - name: Set up Buildx - command: | - docker buildx create --use - docker buildx inspect --bootstrap - - run: - name: Build and push Docker images - command: | - LATEST_TAG="${CIRCLE_TAG:1}" - DOCKERHUB_DESTINATION="$DOCKERHUB_REPO:$LATEST_TAG" - docker login --username=$DOCKERHUB_USER --password=$DOCKERHUB_PASS - docker buildx build --platform linux/amd64,linux/arm/v7,linux/arm64/v8 --pull -t "$DOCKERHUB_DESTINATION" -f dockerfiles/Dockerfile --push . - -workflows: - version: 2 - publish: - jobs: - - setup-docker-buildx - - publish_docker: - requires: - - setup-docker-buildx - filters: - branches: - ignore: /.*/ - tags: - only: /v(?:(?(?:0|[1-9](?:(?:0|[1-9])+)*))[.](?(?:0|[1-9](?:(?:0|[1-9])+)*))[.](?(?:0|[1-9](?:(?:0|[1-9])+)*))(?:-(?:([A-Za-z1-9])*))?)$/ diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml index 06b136c4..cc16cf90 100644 --- a/.github/workflows/docker-release.yml +++ b/.github/workflows/docker-release.yml @@ -2,8 +2,7 @@ name: Build docker images on: push: - tags: - - '^v[0-9]{2}\.[0-9]{2}(\.[0-9]{1,2})?$' + tags: [ 'v*' ] workflow_dispatch: inputs: version: