Skip to content

Commit

Permalink
release docker image workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Taniya-Das committed Dec 3, 2024
1 parent 91c76a2 commit e0f48d3
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/release_docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build and Push Docker Image

on:
push:
branches:
- master # Trigger on pushes to the master branch

jobs:
build-and-push:
runs-on: ubuntu-latest

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

- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.ORG_DOCKERHUB_USERNAME }}
password: ${{ secrets.ORG_DOCKERHUB_TOKEN }}

- name: Build Docker Image
run: |
docker build -t openml/openml-tensorflow:latest -f docker/Dockerfile .
- name: Push Docker Image
run: |
docker push openml/openml-tensorflow:latest

0 comments on commit e0f48d3

Please sign in to comment.