Skip to content

Add ci github workflow #1

Add ci github workflow

Add ci github workflow #1

Workflow file for this run

name: ci
on:
push:
paths:
- src/**
brances:
- main
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: tyrelfecha/python-app:${GITHUB_SHA::6}