diff --git a/.woodpecker/.latest.yml b/.woodpecker/.latest.yml deleted file mode 100644 index 5172f216..00000000 --- a/.woodpecker/.latest.yml +++ /dev/null @@ -1,41 +0,0 @@ -clone: - git: - when: - event: - - push - image: woodpeckerci/plugin-git:v1.5.0 - settings: - depth: 1 - lfs: false - recursive: false - tags: true - -pipeline: - docker-latest: - image: woodpeckerci/plugin-docker-buildx - secrets: [docker_username, docker_password] - settings: - repo: danog/madelineproto - dockerfile: "8.2/sid/cli/Dockerfile" - platforms: linux/riscv64 - tag: latest - when: - event: - - push - platform: linux/riscv64 - - docker-latest-8.2: - image: woodpeckerci/plugin-docker-buildx - secrets: [docker_username, docker_password] - settings: - repo: danog/madelineproto - dockerfile: "8.2/sid/cli/Dockerfile" - platforms: linux/riscv64 - tag: 8.2 - when: - event: - - push - platform: linux/riscv64 - -depends_on: - - variants \ No newline at end of file diff --git a/.woodpecker/.variants.yml b/.woodpecker/.variants.yml index 854eda6b..059e3e56 100644 --- a/.woodpecker/.variants.yml +++ b/.woodpecker/.variants.yml @@ -5,12 +5,13 @@ matrix: - "sid/cli" - "sid/fpm" +platform: linux/riscv64 + clone: git: when: event: - push - platform: linux/riscv64 image: woodpeckerci/plugin-git:v1.5.0 settings: depth: 1 @@ -27,7 +28,8 @@ pipeline: dockerfile: "8.2/${variant}/Dockerfile" platforms: linux/riscv64 tag: 8.2-${variant} + cache_from: type=registry,ref=danog/php:8.2-${variant} + cache_to: type=inline when: event: - - push - platform: linux/riscv64 \ No newline at end of file + - push \ No newline at end of file