From 12f5976c296f5b7c94999739eabb8ccd45261987 Mon Sep 17 00:00:00 2001 From: leandrofars Date: Thu, 18 Apr 2024 18:05:07 -0300 Subject: [PATCH] build: remove github actions since we already use circlei --- .github/workflows/frontend.yaml | 39 --------------------------------- .github/workflows/mqtt.yaml | 39 --------------------------------- 2 files changed, 78 deletions(-) delete mode 100644 .github/workflows/frontend.yaml delete mode 100644 .github/workflows/mqtt.yaml diff --git a/.github/workflows/frontend.yaml b/.github/workflows/frontend.yaml deleted file mode 100644 index 29831d2..0000000 --- a/.github/workflows/frontend.yaml +++ /dev/null @@ -1,39 +0,0 @@ -name: Oktopus Frontend - -# Controls when the action will run. Triggers the workflow on push or pull request -# events but only for the master branch -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - # This workflow contains a single job called "build" - build-frontend: - # The type of runner that the job will run on - runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - - - name: Checkout - uses: actions/checkout@v2 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 - - - name: Login to DockerHub - uses: docker/login-action@v1 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - - name: Build Docker image - run: docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/frontend:latest -f frontend/build/Dockerfile frontend - - - name: Push Docker image to Docker Hub - run: docker push ${{ secrets.DOCKERHUB_USERNAME }}/mqtt:latest - diff --git a/.github/workflows/mqtt.yaml b/.github/workflows/mqtt.yaml deleted file mode 100644 index a3d5d91..0000000 --- a/.github/workflows/mqtt.yaml +++ /dev/null @@ -1,39 +0,0 @@ -name: Oktopus MQTT Broker - -# Controls when the action will run. Triggers the workflow on push or pull request -# events but only for the master branch -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - # This workflow contains a single job called "build" - build-mqtt: - # The type of runner that the job will run on - runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - - - name: Checkout - uses: actions/checkout@v2 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 - - - name: Login to DockerHub - uses: docker/login-action@v1 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - - name: Build Docker image - run: docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/mqtt:latest -f backend/services/mtp/mqtt/build/Dockerfile backend/services/mtp/mqtt - - - name: Push Docker image to Docker Hub - run: docker push ${{ secrets.DOCKERHUB_USERNAME }}/mqtt:latest -