From e57e350298d22bccb01f77f4550c48699760f269 Mon Sep 17 00:00:00 2001 From: Delemangi Date: Sat, 16 Dec 2023 02:27:31 +0100 Subject: [PATCH] Change workflow --- .github/workflows/ci.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c44f810..cb602b1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -71,16 +71,16 @@ jobs: docker-backend: runs-on: ubuntu-latest - if: github.event_name == 'push' && github.ref == 'refs/heads/master' + if: github.event_name == 'push' && github.ref == 'refs/heads/main' needs: - ruff - sonarcloud steps: - - name: Set Up QEMU + - name: Set up QEMU uses: docker/setup-qemu-action@v3 - - name: Set Up Docker Buildx + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Login to Docker Hub @@ -98,16 +98,16 @@ jobs: docker-frontend: runs-on: ubuntu-latest - if: github.event_name == 'push' && github.ref == 'refs/heads/master' + if: github.event_name == 'push' && github.ref == 'refs/heads/main' needs: - eslint - sonarcloud steps: - - name: Set Up QEMU + - name: Set up QEMU uses: docker/setup-qemu-action@v3 - - name: Set Up Docker Buildx + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Login to Docker Hub @@ -116,7 +116,7 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Build and Push Frontend + - name: Build and push frontend uses: docker/build-push-action@v5 with: context: ./frontend