fix import datetime #108
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Basic FastAPI Test container | |
on: | |
push: | |
paths: | |
- 'app/**' # Specify path to your directory | |
jobs: | |
build-and-push-py-test-image: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKERHUB_USR }} | |
password: ${{ secrets.DOCKERHUB_PWD }} | |
- name: Build and Push | |
run: | | |
cd app/ | |
chmod +x build.sh # Ensure the script is executable | |
./build.sh |