Commit 06f5053f authored by Martin Schophaus's avatar Martin Schophaus
Browse files

Fix ci pipelines

parent 8ebcfbc8
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
stages:
  - test

deploy:
test:
  image: registry.gitlab.com/mschop/notee
  stage: test
  script:

build-images.sh

0 → 100755
+7 −0
Original line number Diff line number Diff line
#!/usr/bin/env bash

set -e

docker login registry.gitlab.com
docker build --build-arg PHP_VERSION=8.2 -t registry.gitlab.com/mschop/notee .
docker push registry.gitlab.com/mschop/notee
 No newline at end of file

ci/docker/Dockerfile

deleted100644 → 0
+0 −16
Original line number Diff line number Diff line
FROM ubuntu:22.04
RUN export DEBIAN_FRONTEND=noninteractive \
    && apt-get update && apt-get -y upgrade \
    && apt-get -y install software-properties-common && add-apt-repository ppa:ondrej/php \
    && apt-get update \
    && apt-get -y install \
        openssh-client rsync unzip \
        php8.2-cli \
        php8.2-zip \
        php8.2-mbstring \
        php8.2-xml \
        git \
    && cd /root && mkdir bin && cd bin \
    && php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
    && php composer-setup.php \
    && php -r "unlink('composer-setup.php');"