diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4b28a0a..6dc26de 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,9 +24,9 @@ jobs: uses: docker/metadata-action@v4 with: images: | - plone/plone-backend + ghcr.io/plone/plone-backend tags: | - type=raw,value=test + type=sha - name: Set up QEMU uses: docker/setup-qemu-action@v2 @@ -37,8 +37,9 @@ jobs: - name: Login to DockerHub uses: docker/login-action@v2 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} + registry: ghcr.io + username: ${{ github.repository_owner }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Build image for testing uses: docker/build-push-action@v3 @@ -50,4 +51,4 @@ jobs: - name: Test run: | - ./test/run.sh plone/plone-backend:test + ./test/run.sh ${{ steps.meta.outputs.tags }} diff --git a/Dockerfile b/Dockerfile index 07d75dd..90e6120 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,21 +1,21 @@ # syntax=docker/dockerfile:1 -ARG PYTHON_VERSION=3.10 +ARG PYTHON_VERSION=3.11 FROM python:${PYTHON_VERSION}-slim-bullseye as base FROM base as builder ENV PIP_PARAMS="" -ENV PIP_VERSION=22.2.2 +ENV PIP_VERSION=22.3.1 ENV PLONE_VERSION=6.0.0rc2 ENV EXTRA_PACKAGES="relstorage==3.5.0 psycopg2==2.9.5 python-ldap==3.4.3" RUN <