Trying to build docker
This commit is contained in:
@ -1,3 +1,6 @@
|
||||
when:
|
||||
- event: [push, tag]
|
||||
|
||||
steps:
|
||||
build:
|
||||
image: docker.io/woodpeckerci/plugin-docker-buildx:latest
|
||||
|
@ -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"]
|
Reference in New Issue
Block a user