diff --git a/.github/workflows/picfit-image.yml b/.github/workflows/picfit-image.yml index 84c7693b..a1466b68 100644 --- a/.github/workflows/picfit-image.yml +++ b/.github/workflows/picfit-image.yml @@ -7,6 +7,9 @@ on: - '.github/workflows/picfit-image.yml' - 'docker/picfit-image.Dockerfile' +env: + PICFIT_VERSION: 0.14.0 + jobs: build-and-publish: runs-on: ubuntu-latest @@ -23,6 +26,7 @@ jobs: with: repository: 'thoas/picfit' path: 'picfit' + ref: ${{ env.PICFIT_VERSION }} - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -42,7 +46,7 @@ jobs: uses: docker/metadata-action@v5 with: images: ghcr.io/${{ github.repository }}/picfit - tags: v1 + tags: ${{ env.PICFIT_VERSION }} - name: Build and push Docker image uses: docker/build-push-action@v5 diff --git a/docker/picfit.Dockerfile b/docker/picfit.Dockerfile index 3bb992a6..43e0d9a0 100644 --- a/docker/picfit.Dockerfile +++ b/docker/picfit.Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/lichess-org/lila-docker/picfit:v1 +FROM ghcr.io/lichess-org/lila-docker/picfit:0.14.0 COPY assets/coach.png /uploads/coach.png COPY assets/streamer.png /uploads/streamer.png