diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2024-11-18 05:13:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-18 05:13:15 +0100 |
commit | 6cccd6d9ac106b7df80fd263e97a921974f0504a (patch) | |
tree | b9e8bf7c11c1a4f0ff517faf54f471dcbe2d8f8f /.github/workflows/publish-workflow.yaml | |
parent | Delete .github/workflows/auto-pr-description.yml (diff) | |
parent | Add full nodriver support to OpenaiChat (diff) | |
download | gpt4free-6cccd6d9ac106b7df80fd263e97a921974f0504a.tar gpt4free-6cccd6d9ac106b7df80fd263e97a921974f0504a.tar.gz gpt4free-6cccd6d9ac106b7df80fd263e97a921974f0504a.tar.bz2 gpt4free-6cccd6d9ac106b7df80fd263e97a921974f0504a.tar.lz gpt4free-6cccd6d9ac106b7df80fd263e97a921974f0504a.tar.xz gpt4free-6cccd6d9ac106b7df80fd263e97a921974f0504a.tar.zst gpt4free-6cccd6d9ac106b7df80fd263e97a921974f0504a.zip |
Diffstat (limited to '.github/workflows/publish-workflow.yaml')
-rw-r--r-- | .github/workflows/publish-workflow.yaml | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/.github/workflows/publish-workflow.yaml b/.github/workflows/publish-workflow.yaml index 1a1edaab..67d9dc53 100644 --- a/.github/workflows/publish-workflow.yaml +++ b/.github/workflows/publish-workflow.yaml @@ -37,26 +37,28 @@ 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 + file: docker/Dockerfile-slim platforms: linux/amd64,linux/arm64 push: true - tags: ${{ steps.metadata.outputs.tags }} + 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 slim image + + - name: Build and push big images uses: docker/build-push-action@v5 with: context: . - file: docker/Dockerfile-slim + file: docker/Dockerfile + platforms: linux/amd64,linux/arm64 push: true - tags: | - hlohaus789/g4f:slim-latest - hlohaus789/g4f:${{ github.ref_name }}-slim + tags: ${{ steps.metadata.outputs.tags }} labels: ${{ steps.metadata.outputs.labels }} build-args: | G4F_VERSION=${{ github.ref_name }}
\ No newline at end of file |