Skip to content

Commit f0ac25c

Browse files
committed
Merge branch 'main' of https://github.com/iib0011/omni-tools into generic-calc
# Conflicts: # .idea/workspace.xml # src/tools/defineTool.tsx
2 parents db02e0d + 7308cf0 commit f0ac25c

File tree

92 files changed

+9633
-591
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+9633
-591
lines changed

.coding-aider-plans/refactor_tools_toolcontent.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

.coding-aider-plans/refactor_tools_toolcontent_checklist.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.coding-aider-plans/refactor_tools_toolcontent_context.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,49 @@ jobs:
4949
name: playwright-report
5050
path: playwright-report/
5151
retention-days: 30
52+
build-and-push-docker:
53+
name: Build and Push Multi-Platform Docker Image
54+
runs-on: ubuntu-latest
55+
needs:
56+
- test-and-build
57+
- e2e-test
58+
if: github.ref == 'refs/heads/main'
59+
steps:
60+
- name: Checkout code
61+
uses: actions/checkout@v3
62+
63+
- name: Set up QEMU
64+
uses: docker/setup-qemu-action@v2
65+
with:
66+
platforms: 'arm64,amd64'
67+
68+
- name: Set up Docker Buildx
69+
uses: docker/setup-buildx-action@v2
70+
71+
- name: Login to DockerHub
72+
uses: docker/login-action@v2
73+
with:
74+
username: ${{ secrets.DOCKERHUB_USERNAME }}
75+
password: ${{ secrets.DOCKERHUB_TOKEN }}
76+
77+
- name: Extract metadata for Docker
78+
id: meta
79+
uses: docker/metadata-action@v4
80+
with:
81+
images: iib0011/omni-tools
82+
tags: |
83+
type=raw,value=latest
84+
85+
- name: Build and push Docker image
86+
uses: docker/build-push-action@v4
87+
with:
88+
context: .
89+
platforms: linux/amd64,linux/arm64
90+
push: true
91+
tags: ${{ steps.meta.outputs.tags }}
92+
labels: ${{ steps.meta.outputs.labels }}
93+
cache-from: type=gha
94+
cache-to: type=gha,mode=max
5295
deploy:
5396
if: github.ref == 'refs/heads/main'
5497
needs:

0 commit comments

Comments
 (0)