diff --git a/.github/workflows/build-container-image.yml b/.github/workflows/build-container-image.yml new file mode 100644 index 0000000..de23123 --- /dev/null +++ b/.github/workflows/build-container-image.yml @@ -0,0 +1,22 @@ +name: Build Container image and publish it to GitHub Container Registry + +on: + push: + branches: + - master + +jobs: + publish-docker-image: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Login to GitHub Container Registry + uses: docker/login-action@v1 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Build and push Docker image to the GHCR + run: | + docker build . --tag ghcr.io/gbdev/homebrewhub:latest + docker push ghcr.io/gbdev/homebrewhub:latest diff --git a/requirements.txt b/requirements.txt index c254b45..14e7e29 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17,6 +17,7 @@ pathspec==0.9.0 platformdirs==2.5.2 pre-commit==2.20.0 psycopg2==2.9.1 +python-dateutil==2.9.0.post0 pytz==2021.1 PyYAML==6.0 sqlparse==0.4.2 @@ -24,4 +25,3 @@ toml==0.10.2 tomli==2.0.1 typing_extensions==4.3.0 virtualenv==20.16.2 -python-dateutil==2.9.0.post0