Skip to content

Commit

Permalink
ops: tagged docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
cdxker authored and skeptrunedev committed May 9, 2024
1 parent 0db9eae commit 4495d74
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/push-frontends.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- 'dashboard/**'
- 'search/**'
- 'chat/**'
- '.github/workflows'
- '.github/workflows/**'

jobs:
build_chat:
Expand Down Expand Up @@ -41,6 +41,7 @@ jobs:
trieve/chat
tags: |
type=raw,latest
type=sha
- name: Build and push Docker image
uses: docker/build-push-action@v5
Expand Down Expand Up @@ -78,6 +79,7 @@ jobs:
trieve/search
tags: |
type=raw,latest
type=sha
- name: Build and push Docker image
uses: docker/build-push-action@v5
Expand Down Expand Up @@ -115,6 +117,7 @@ jobs:
trieve/dashboard
tags: |
type=raw,latest
type=sha
- name: Build and push Docker image
uses: docker/build-push-action@v5
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/push-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- 'main'
paths:
- 'server/**'
- '.github/workflows'
- '.github/workflows/**'

jobs:
build_server:
Expand All @@ -38,7 +38,9 @@ jobs:
images: |
trieve/server
tags: |
type=raw,no-ocr,latest
type=raw,no-ocr
type=raw,latest
type=sha
- name: Build and push Docker image
uses: docker/build-push-action@v5
Expand Down Expand Up @@ -76,6 +78,7 @@ jobs:
trieve/ingest
tags: |
type=raw,latest
type=sha
- name: Build and push Docker image
uses: docker/build-push-action@v5
Expand Down Expand Up @@ -113,6 +116,7 @@ jobs:
trieve/file_worker
tags: |
type=raw,latest
type=sha
- name: Build and push Docker image
uses: docker/build-push-action@v5
Expand Down Expand Up @@ -150,6 +154,7 @@ jobs:
trieve/server
tags: |
type=raw,ocr
type=sha
- name: Build and push Docker image
uses: docker/build-push-action@v5
Expand Down

0 comments on commit 4495d74

Please sign in to comment.