Skip to content

Commit

Permalink
updated docker files to handle server/agent, updated github ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
amorey committed Sep 16, 2024
1 parent 6deb306 commit cd65f02
Show file tree
Hide file tree
Showing 5 changed files with 359 additions and 26 deletions.
50 changes: 46 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
pnpm install
pnpm build
build-amd64:
build-amd64-server:
needs:
- backend-lint
- backend-test
Expand All @@ -109,10 +109,51 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
file: build/package/Dockerfile.server
push: false
tags: kubetail:latest
tags: kubetail-server:latest

build-arm64:
build-amd64-agent:
needs:
- backend-lint
- backend-test
- backend-vet
- frontend-lint
- frontend-test
- frontend-build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
uses: docker/build-push-action@v5
with:
context: .
file: build/package/Dockerfile.agent
push: false
tags: kubetail-agent:latest

build-arm64-sever:
needs:
- backend-lint
- backend-test
- backend-vet
- frontend-lint
- frontend-test
- frontend-build
runs-on: arm64-ubuntu-22
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
uses: docker/build-push-action@v5
with:
context: .
file: build/package/Dockerfile.server
push: false
tags: kubetail-server:latest

build-arm64-agent:
needs:
- backend-lint
- backend-test
Expand All @@ -128,5 +169,6 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
file: build/package/Dockerfile.agent
push: false
tags: kubetail:latest
tags: kubetail-agent:latest
Loading

0 comments on commit cd65f02

Please sign in to comment.