diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index c1bbee1..7a12554 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -27,12 +27,10 @@ jobs: run: echo "${{ secrets.CI_TOKEN }}" | docker login gitea.gitea.svc.cluster.local:3000 -u chemavx --password-stdin - name: Build and push bot image - env: - DOCKER_BUILDKIT: "0" run: | TAG=${{ steps.tag.outputs.TAG }} - docker pull gitea.gitea.svc.cluster.local:3000/chemavx/polymarket-bot:buildcache || true docker build \ + --build-arg BUILDKIT_INLINE_CACHE=1 \ --cache-from gitea.gitea.svc.cluster.local:3000/chemavx/polymarket-bot:buildcache \ -t gitea.gitea.svc.cluster.local:3000/chemavx/polymarket-bot:${TAG} \ -t gitea.gitea.svc.cluster.local:3000/chemavx/polymarket-bot:buildcache \ @@ -41,12 +39,10 @@ jobs: docker push gitea.gitea.svc.cluster.local:3000/chemavx/polymarket-bot:buildcache - name: Build and push API image - env: - DOCKER_BUILDKIT: "0" run: | TAG=${{ steps.tag.outputs.TAG }} - docker pull gitea.gitea.svc.cluster.local:3000/chemavx/polymarket-bot-api:buildcache || true docker build \ + --build-arg BUILDKIT_INLINE_CACHE=1 \ --cache-from gitea.gitea.svc.cluster.local:3000/chemavx/polymarket-bot-api:buildcache \ -t gitea.gitea.svc.cluster.local:3000/chemavx/polymarket-bot-api:${TAG} \ -t gitea.gitea.svc.cluster.local:3000/chemavx/polymarket-bot-api:buildcache \ @@ -55,12 +51,10 @@ jobs: docker push gitea.gitea.svc.cluster.local:3000/chemavx/polymarket-bot-api:buildcache - name: Build and push dashboard image - env: - DOCKER_BUILDKIT: "0" run: | TAG=${{ steps.tag.outputs.TAG }} - docker pull gitea.gitea.svc.cluster.local:3000/chemavx/polymarket-bot-dashboard:buildcache || true docker build \ + --build-arg BUILDKIT_INLINE_CACHE=1 \ --cache-from gitea.gitea.svc.cluster.local:3000/chemavx/polymarket-bot-dashboard:buildcache \ -t gitea.gitea.svc.cluster.local:3000/chemavx/polymarket-bot-dashboard:${TAG} \ -t gitea.gitea.svc.cluster.local:3000/chemavx/polymarket-bot-dashboard:buildcache \