diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index f1be479..5e0e4ff 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -37,6 +37,9 @@ jobs: platforms: linux/amd64,linux/arm64 tags: ${{ env.REGISTRY }}/temporalio/snakes-core-worker:latest push: true + cache-from: type=gha + cache-to: type=gha,mode=max + github-token: ${{ secrets.GITHUB_TOKEN }} - name: Build and push snake worker Docker image uses: docker/build-push-action@v5 @@ -46,11 +49,17 @@ jobs: platforms: linux/amd64,linux/arm64 tags: ${{ env.REGISTRY }}/temporalio/snakes-worker:latest push: true - + cache-from: type=gha + cache-to: type=gha,mode=max + github-token: ${{ secrets.GITHUB_TOKEN }} + - name: Build and push UI Docker image uses: docker/build-push-action@v5 with: context: ./snakes platforms: linux/amd64,linux/arm64 tags: ${{ env.REGISTRY }}/temporalio/snakes-ui:latest - push: true \ No newline at end of file + push: true + cache-from: type=gha + cache-to: type=gha,mode=max + github-token: ${{ secrets.GITHUB_TOKEN }}