diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 1366160..41e2f94 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -15,8 +15,15 @@ jobs: - name: Check out the repo uses: actions/checkout@v4 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + with: + platforms: linux/amd64,linux/arm64,linux/arm/v8,linux/arm/v7,linux/arm/v6 + - name: Log in to the Container registry - uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -24,7 +31,7 @@ jobs: - name: Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 + uses: docker/metadata-action@v5 with: flavor: | latest=true @@ -33,9 +40,10 @@ jobs: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - name: Build and push Docker image - uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 + uses: docker/build-push-action@v5 with: context: . push: true tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file + platforms: linux/amd64,linux/arm64 + labels: ${{ steps.meta.outputs.labels }} diff --git a/scheduled/birthdays.js b/scheduled/birthdays.js index 7cb25d8..3727c26 100644 --- a/scheduled/birthdays.js +++ b/scheduled/birthdays.js @@ -1,7 +1,7 @@ const EmbedUtils = require('../utils/EmbedUtils'); module.exports = { - schedule: "0 1 0 * * *", + schedule: "0 0 0 * * *", task: async client => { const date = new Date(), day = String(date.getDate()).padStart(2, '0'),