Skip to content

Commit d896bc5

Browse files
committed
update push.yml
1 parent 048a9ef commit d896bc5

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

.github/workflows/push.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,33 +10,33 @@ jobs:
1010
steps:
1111
- name: Checkout
1212
uses: actions/checkout@v4
13-
- name: Set up QEMU
14-
uses: docker/setup-qemu-action@v3
13+
# - name: Set up QEMU
14+
# uses: docker/setup-qemu-action@v3
1515
- name: Set up Docker Buildx
1616
uses: docker/setup-buildx-action@v3
1717
- name: Build and test core
18-
run: ./test/test.sh
18+
run: docker compose -f docker-compose.yml up -d && sleep 30 && docker exec -i odota-core sh -c 'npm run test'
1919
- name: Login to Docker Hub
2020
if: github.ref == 'refs/heads/master'
2121
uses: docker/login-action@v3
2222
with:
2323
username: ${{ secrets.DOCKER_USERNAME }}
2424
password: ${{ secrets.DOCKER_PASSWORD }}
25-
- name: Build and push retriever
25+
- name: Build and push core
2626
if: github.ref == 'refs/heads/master'
2727
uses: docker/build-push-action@v5
2828
with:
2929
context: .
30+
# Disabling linux/arm64 build for now to save some time
3031
platforms: linux/amd64
3132
push: true
32-
tags: odota/retriever:latest
33-
file: Dockerfile.retriever
34-
- name: Build and push core
33+
tags: odota/core:latest
34+
- name: Build and push retriever
3535
if: github.ref == 'refs/heads/master'
3636
uses: docker/build-push-action@v5
3737
with:
3838
context: .
39-
# Disabling linux/arm64 build for now to save some time
4039
platforms: linux/amd64
4140
push: true
42-
tags: odota/core:latest
41+
tags: odota/retriever:latest
42+
file: Dockerfile.retriever

test/test.sh

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

0 commit comments

Comments
 (0)