Compare commits

...

4 commits

Author SHA1 Message Date
a9e2a0ae42 typo
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2023-07-30 07:14:18 -04:00
079e394db9 Add carton
Some checks failed
ci/woodpecker/push/build Pipeline failed
2023-07-30 06:47:48 -04:00
52f8826187 More env setup to make it easier 2023-07-30 06:46:35 -04:00
1ae6c44f38 Try setting up some tagging
Some checks failed
ci/woodpecker/push/build Pipeline failed
2023-07-30 06:40:32 -04:00
2 changed files with 23 additions and 4 deletions

View file

@ -1,5 +1,5 @@
steps: steps:
- name: build build-latest:
image: woodpeckerci/plugin-docker-buildx image: woodpeckerci/plugin-docker-buildx
settings: settings:
repo: gitea.simcop2387.info/simcop2387/ai-perl-base repo: gitea.simcop2387.info/simcop2387/ai-perl-base
@ -10,5 +10,18 @@ steps:
username: simcop2387 username: simcop2387
password: password:
from_secret: docker_token from_secret: docker_token
when:
- branch: master
build-release:
image: woodpeckerci/plugin-docker-buildx
settings:
repo: gitea.simcop2387.info/simcop2387/ai-perl-base
registry: gitea.simcop2387.info
auto_tag: true
mirror: "https://docker-registry-cache.simcop2387.info"
username: simcop2387
password:
from_secret: docker_token
when:
- event: tag

View file

@ -4,6 +4,12 @@ RUN apt update && apt install -y perlbrew curl
RUN perlbrew init && perlbrew install --verbose perl-5.38.0 RUN perlbrew init && perlbrew install --verbose perl-5.38.0
RUN perlbrew use perl-5.38.0 RUN perlbrew use perl-5.38.0
RUN echo "source /root/perl5/perlbrew/etc/bashrc && perlbrew switch current" >> ~/.bashrc RUN echo "source /root/perl5/perlbrew/etc/bashrc && perlbrew switch perl-5.38.0" >> ~/.bashrc
RUN perlbrew install-cpanm ENV PERLBREW_ROOT=/root/perl5/perlbrew
ENV PERLBREW_HOME=/root/.perlbrew
ENV PERLBREW_PATH=/root/perl5//perlbrew/bin:/root/perl5/perlbrew/perls/perl-5.38.0/bin
ENV PATH=${PERLBREW_PATH}:${PATH}
ENV PERLBREW_MANPATH=/root/perl5/perlbrew/perls/perl-5.38.0/man
RUN perlbrew install-cpanm && cpanm install --verbose Carton