diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index eb739d3..04c7ae8 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@v3 - name: Login to Docker Hub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_HUB_USERNAME }} password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} @@ -44,9 +44,12 @@ jobs: restore-keys: | ${{ runner.os }}-buildx- + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Set lowercase GitHub repository name run: | @@ -63,8 +66,9 @@ jobs: - name: Build and push id: docker_build - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v6 with: + platforms: linux/amd64,linux/arm64 context: ./ file: ./Dockerfile builder: ${{ steps.buildx.outputs.name }} diff --git a/README.md b/README.md index 18ed8f3..e3b7246 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/shotit/shotit-api/docker-image.yml?style=flat-square)](https://github.com/shotit/shotit-api/actions) [![Codecov](https://img.shields.io/codecov/c/github/shotit/shotit-api?style=flat-square&token=8C25WLSEDJ)](https://codecov.io/gh/shotit/shotit-api) [![Docker](https://img.shields.io/docker/pulls/lesliewong007/shotit-api?style=flat-square)](https://hub.docker.com/r/lesliewong007/shotit-api) -[![Docker Image Size](https://img.shields.io/docker/image-size/lesliewong007/shotit-api/v0.9.18?style=flat-square)](https://hub.docker.com/r/lesliewong007/shotit-api) +[![Docker Image Size](https://img.shields.io/docker/image-size/lesliewong007/shotit-api/v0.9.19?style=flat-square)](https://hub.docker.com/r/lesliewong007/shotit-api) The ultimate brain of [shotit](https://github.com/shotit/shotit), in charge of task coordination. diff --git a/package.json b/package.json index 149c9e3..71512c8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "shotit-api", - "version": "0.9.18", + "version": "0.9.19", "description": "The ultimate brain of shotit, in charge of task coordination", "main": "server.js", "type": "module",