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