mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-24 13:07:53 +08:00
Add full nodriver support to OpenaiChat
Move small docker images before old images
This commit is contained in:
28
.github/workflows/publish-workflow.yaml
vendored
28
.github/workflows/publish-workflow.yaml
vendored
@@ -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 }}
|
||||
Reference in New Issue
Block a user