Skip to content

Commit

Permalink
add gh workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dayesouza committed Apr 2, 2024
1 parent 4d11f1d commit ec4e6ae
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]

variables:
python-version: "3.10"

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ variables.python-version }}

- name: Install Dependencies
run: pip install -r requirements.txt

- name: Build Docker Image
run: docker build . -t intel-toolkit:latest
1 change: 0 additions & 1 deletion .vsts-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ stages:
inputs:
targetType: "inline"
script: docker login -u $(DOCKER_USERNAME) -p $(DOCKER_PASSWORD) $(DOCKER_REGISTRY)

- task: Bash@3
displayName: Push Docker Image
inputs:
Expand Down

0 comments on commit ec4e6ae

Please sign in to comment.