Add full nodriver support to OpenaiChat

Move small docker images before old images
This commit is contained in:
Heiner Lohaus
2024-11-18 02:53:50 +01:00
parent b7a8e03220
commit 2a7770ea51
5 changed files with 131 additions and 112 deletions

View File

@@ -37,7 +37,21 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_PAT }}
- name: Build and push image
- name: Build and push small images
uses: docker/build-push-action@v5
with:
context: .
file: docker/Dockerfile-slim
platforms: linux/amd64,linux/arm64
push: true
tags: |
hlohaus789/g4f:latest-slim
hlohaus789/g4f:${{ github.ref_name }}-slim
labels: ${{ steps.metadata.outputs.labels }}
build-args: |
G4F_VERSION=${{ github.ref_name }}
- name: Build and push big images
uses: docker/build-push-action@v5
with:
context: .
@@ -46,17 +60,5 @@ jobs:
push: true
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
build-args: |
G4F_VERSION=${{ github.ref_name }}
- name: Build and push slim image
uses: docker/build-push-action@v5
with:
context: .
file: docker/Dockerfile-slim
push: true
tags: |
hlohaus789/g4f:slim-latest
hlohaus789/g4f:${{ github.ref_name }}-slim
labels: ${{ steps.metadata.outputs.labels }}
build-args: |
G4F_VERSION=${{ github.ref_name }}