Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
leticia-pontes authored Dec 1, 2024
1 parent 4bab1c1 commit 4fe7bf2
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
name: CI/CD Pipeline

on:
push:
branches:
- develop
pull_request:
branches:
- main

jobs:
build-and-push:
name: Build and Push Docker Image
runs-on: windows-latest
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Cache pip dependencies
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Log in to DockerHub
uses: docker/login-action@v2
with:
Expand Down

0 comments on commit 4fe7bf2

Please sign in to comment.