File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -65,17 +65,16 @@ jobs:
6565 images : elementsinteractive/lightman-ai
6666
6767 - name : Build and push Docker image
68- uses : docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5.4.0
69- with :
70- images : docker.io/elementsinteractive/lightman-ai
71- context : .
72- file : ./Dockerfile
73- push : true
74- platforms : linux/amd64,linux/arm64
75- tags : ${{ steps.meta.outputs.tags }}
76- labels : ${{ steps.meta.outputs.labels }}
77- cache-from : type=registry,ref=ghcr.io/elementsinteractive/lightman-ai:buildcache
78- cache-to : type=registry,ref=ghcr.io/elementsinteractive/lightman-ai:buildcache,mode=max
68+ run : |
69+ docker buildx build \
70+ --platform linux/amd64,linux/arm64 \
71+ --push \
72+ --cache-from=type=registry,ref=ghcr.io/elementsinteractive/lightman-ai:buildcache \
73+ --cache-to=type=registry,ref=ghcr.io/elementsinteractive/lightman-ai:buildcache,mode=max \
74+ -t docker.io/elementsinteractive/lightman-ai:latest \
75+ -t docker.io/elementsinteractive/lightman-ai:${{ steps.meta.outputs.version }} \
76+ ${{ steps.meta.outputs.labels }}
77+ .
7978
8079 release_notes :
8180 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ readme = "README.md"
2525lightman-ai = " lightman_ai.cli:entry_point"
2626
2727[project .optional-dependencies ]
28+
2829test = [
2930 " pytest<9.0.0,>=8.0.0" ,
3031 " pytest-cov<6.0.0,>=5.0.0" ,
You can’t perform that action at this time.
0 commit comments