Skip to content

Commit

Permalink
Change workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Delemangi committed Dec 16, 2023
1 parent b781078 commit e57e350
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e57e350

Please sign in to comment.