Trying to build docker
Some checks failed
ci/woodpecker/push/docker Pipeline failed
ci/woodpecker/push/test Pipeline failed

This commit is contained in:
2025-04-01 12:06:59 +00:00
parent 78ee9e5b4a
commit 2ce5dd856d
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
when:
- event: [push, tag]
steps:
build:
image: docker.io/woodpeckerci/plugin-docker-buildx:latest

View File

@ -1,10 +1,10 @@
FROM composer
WORKDIR /src
COPY . /src
RUN ls
RUN composer update --no-dev
RUN composer update --no-dev && wget https://downloads.rclone.org/rclone-current-linux-amd64.deb && sudo dpkg -i rclone-current-linux-amd64.deb && rm rclone-current-linux-amd64.deb
FROM php:8.4-cli-alpine
COPY --from=0 ./src /app
WORKDIR /app
ENTRYPOINT ["./backup"]