From 481a13bc2545e5ac2f4e845b96db41c2773686ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C4=83rbu=C8=9B-Dic=C4=83=20Sami?= <70215066+WarriorsSami@users.noreply.github.com> Date: Tue, 24 Sep 2024 12:41:11 +0300 Subject: [PATCH] fix(quetzalcoatl): remove redundant compose file (#45) --- .../workflows/step-deploy-to-docker-hub.yaml | 2 +- .github/workflows/step-deploy-to-ghcr.yaml | 2 +- quetzalcoatl-auth/docker-compose.yaml | 28 ------------------- 3 files changed, 2 insertions(+), 30 deletions(-) delete mode 100644 quetzalcoatl-auth/docker-compose.yaml diff --git a/.github/workflows/step-deploy-to-docker-hub.yaml b/.github/workflows/step-deploy-to-docker-hub.yaml index 3eaa4d0..e48c03e 100644 --- a/.github/workflows/step-deploy-to-docker-hub.yaml +++ b/.github/workflows/step-deploy-to-docker-hub.yaml @@ -43,7 +43,7 @@ jobs: with: images: ${{ inputs.namespace }}/${{ inputs.repository }} tags: | - type=semver,pattern={{version}} + type=match,pattern=(.*)-v(\d.\d.\d),group=1 - name: Build and push Docker image uses: docker/build-push-action@v6 diff --git a/.github/workflows/step-deploy-to-ghcr.yaml b/.github/workflows/step-deploy-to-ghcr.yaml index dcd8044..cc52ae3 100644 --- a/.github/workflows/step-deploy-to-ghcr.yaml +++ b/.github/workflows/step-deploy-to-ghcr.yaml @@ -39,7 +39,7 @@ jobs: with: images: ghcr.io/${{ github.repository_owner }}/${{ inputs.image_name }} tags: | - type=semver,pattern={{version}} + type=match,pattern=(.*)-v(\d.\d.\d),group=1 - name: Build and push Docker image uses: docker/build-push-action@v6 diff --git a/quetzalcoatl-auth/docker-compose.yaml b/quetzalcoatl-auth/docker-compose.yaml deleted file mode 100644 index 53a1a56..0000000 --- a/quetzalcoatl-auth/docker-compose.yaml +++ /dev/null @@ -1,28 +0,0 @@ -# Define services + volumes for quetzalcoatl -version: '3.7' -services: - auth-service: - build: - context: . - dockerfile: Dockerfile - ports: - - "5210:5210" - env_file: - - .env - depends_on: - mssql-db: - condition: service_started - - mssql-db: - image: mcr.microsoft.com/mssql/server:2022-latest - user: root - ports: - - "1434:1433" - env_file: - - .env - volumes: - - quetzalcoatl-db:/var/opt/mssql/data - -volumes: - quetzalcoatl-db: - \ No newline at end of file