From 591fdf5f3631a05f61be6b8a890f374c3c4ba625 Mon Sep 17 00:00:00 2001 From: Jay Date: Wed, 6 Nov 2024 16:11:17 +0100 Subject: [PATCH] ci: removed ESS pipeline trigger job & Build release job (#1456) --- .github/workflows/build-release.yml | 41 ----------------------------- .github/workflows/deploy.yml | 9 ------- 2 files changed, 50 deletions(-) delete mode 100644 .github/workflows/build-release.yml diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml deleted file mode 100644 index c6e51b436..000000000 --- a/.github/workflows/build-release.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: Build release - -on: - release: - tags: - - 'v*' - types: - - created - -jobs: - build-release: - name: Build release - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Login to GHCR - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Create image tags - id: meta - uses: docker/metadata-action@v5 - with: - images: ghcr.io/scicatproject/backend-next - flavor: latest=false - tags: | - type=raw,value=stable - type=ref,event=tag - - - name: Build and push - uses: docker/build-push-action@v6 - with: - context: . - platforms: linux/amd64,linux/arm64/v8 - push: true - tags: ${{ steps.meta.outputs.tags }} diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 627b603d2..95bcdb379 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -38,12 +38,3 @@ jobs: platforms: linux/amd64,linux/arm64/v8 push: true tags: ${{ steps.meta.outputs.tags }} - - - name: Trigger ESS pipeline - uses: swapActions/trigger-swap-deployment@v1 - with: - repository: ${{ github.event.repository.name }} - environment: develop - gh-trigger-url: ${{ secrets.GITLAB_TRIGGER_URL }} - gh-token: ${{ secrets.GITLAB_TRIGGER_TOKEN }} - image-tag: ${{ github.sha }}