mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-12-18 10:37:11 +00:00
Build docker imgs on native arch runners to avoid manifest list error
This also avoids the need to use --amend and annotate steps when creating the multi-arch docker images
This commit is contained in:
parent
5f7b13df2d
commit
ec797bc6b8
1 changed files with 1 additions and 2 deletions
3
.github/workflows/dockerize.yml
vendored
3
.github/workflows/dockerize.yml
vendored
|
@ -85,7 +85,6 @@ jobs:
|
|||
with:
|
||||
context: .
|
||||
file: Dockerfile
|
||||
platforms: ${{ matrix.platform }}
|
||||
push: true
|
||||
tags: |
|
||||
ghcr.io/${{ github.repository }}:${{ env.DOCKER_IMAGE_TAG }}-${{ matrix.platform == 'linux/amd64' && 'amd64' || 'arm64' }}
|
||||
|
@ -104,7 +103,6 @@ jobs:
|
|||
with:
|
||||
context: .
|
||||
file: prod.Dockerfile
|
||||
platforms: ${{ matrix.platform }}
|
||||
push: true
|
||||
tags: |
|
||||
ghcr.io/${{ github.repository }}-cloud:${{ env.DOCKER_IMAGE_TAG }}-${{ matrix.platform == 'linux/amd64' && 'amd64' || 'arm64' }}
|
||||
|
@ -128,6 +126,7 @@ jobs:
|
|||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.PAT }}
|
||||
|
||||
- name: Create and Push Local Manifest
|
||||
if: github.event.inputs.khoj == 'true' || github.event_name == 'push'
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue