From 10269288fe60b98174d9c771d675cc185cb176fc Mon Sep 17 00:00:00 2001 From: GodD6366 Date: Wed, 12 Oct 2022 14:48:58 +0000 Subject: [PATCH] update --- .github/workflows/docker-publish.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index fb21f570..1d9c7137 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -6,14 +6,14 @@ name: Docker # documentation. on: - # schedule: - # - cron: '20 0 * * *' + schedule: + - cron: '20 0 * * *' push: - branches: [ "self" ] + branches: [ "main" ] # Publish semver tags as releases. - # tags: [ 'v*.*.*' ] + tags: [ 'v*.*.*' ] pull_request: - branches: [ "self" ] + branches: [ "main" ] env: # Use docker.io for Docker Hub if empty @@ -25,7 +25,7 @@ env: jobs: build: - runs-on: ubuntu-latest + runs-on: self-hosted permissions: contents: read packages: write @@ -100,7 +100,7 @@ jobs: REVISION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }} # https://github.com/docker/setup-qemu-action#about # platforms: linux/amd64,linux/arm64,linux/riscv64,linux/ppc64le,linux/s390x,linux/386,linux/mips64le,linux/mips64,linux/arm/v7,linux/arm/v6 - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max