Skip to content

Commit

Permalink
Follow picfit versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
fitztrev committed Jul 29, 2024
1 parent eca300d commit 9571802
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/picfit-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker/picfit.Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 9571802

Please sign in to comment.