Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Merge pull request #167 from casperdcl/docker-cli-stream #107

Merge pull request #167 from casperdcl/docker-cli-stream

Merge pull request #167 from casperdcl/docker-cli-stream #107

Workflow file for this run

name: Publish prem mock images
on: {push: {branches: [main]}}
jobs:
push-mocks:
runs-on: ubuntu-latest
env:
DOCKER_CLI_EXPERIMENTAL: enabled
steps:
- uses: actions/checkout@v3
- uses: docker/setup-qemu-action@v2
- id: buildx
uses: docker/setup-buildx-action@v2
with:
install: true
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}
- name: Build & push prem
run: >-
docker buildx build --push
--file ./resources/mocks/generic/Dockerfile
--tag ghcr.io/premai-io/chat-mock-small:0.0.1
--tag ghcr.io/premai-io/chat-mock-small:latest
--tag ghcr.io/premai-io/chat-mock-medium:0.0.1
--tag ghcr.io/premai-io/chat-mock-medium:latest
--tag ghcr.io/premai-io/chat-mock-large:0.0.1
--tag ghcr.io/premai-io/chat-mock-large:latest
--tag ghcr.io/premai-io/embeddings-mock-small:0.0.1
--tag ghcr.io/premai-io/embeddings-mock-small:latest
--tag ghcr.io/premai-io/embeddings-mock-medium:0.0.1
--tag ghcr.io/premai-io/embeddings-mock-medium:latest
--tag ghcr.io/premai-io/embeddings-mock-large:0.0.1
--tag ghcr.io/premai-io/embeddings-mock-large:latest
--platform linux/arm64,linux/amd64 ./resources/mocks/generic