diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 8607a8e5..e464d032 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -12,30 +12,33 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: ${{ ! (github.event_name == 'release' && github.event.action == 'published') }} + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Docker meta id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: - images: ghcr.io/pnx-si/geonature-atlas + images: ghcr.io/${{ github.repository_owner }}/geonature-atlas tags: | type=ref,event=branch type=ref,event=tag - name: Login to GHCR - uses: docker/login-action@v2 + uses: docker/login-action@v3 if: github.event_name != 'pull_request' with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and export - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: . + platforms: linux/amd64,linux/arm64 target: prod push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} diff --git a/requirements.txt b/requirements.txt index bcf9dca3..ff4bf7ce 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,8 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.9 # by the following command: # -# pip-compile requirements.in +# pip-compile --output-file=requirements.txt requirements.in # babel==2.9.1 # via flask-babel @@ -36,10 +36,10 @@ geoalchemy2==0.9.4 # via -r requirements.in geojson==2.5.0 # via -r requirements.in -greenlet==1.1.2 - # via sqlalchemy gunicorn==20.1.0 # via -r requirements.in +importlib-metadata==6.8.0 + # via flask itsdangerous==2.1.2 # via # -r requirements.in @@ -77,6 +77,8 @@ werkzeug==2.2.3 # via # -r requirements.in # flask +zipp==3.17.0 + # via importlib-metadata # The following packages are considered to be unsafe in a requirements file: # setuptools