Skip to content
Snippets Groups Projects
Verified Commit c193f27b authored by Louis's avatar Louis :fire:
Browse files

Create basic Debian Trixie image

parents
No related branches found
No related tags found
No related merge requests found
build:
image: docker:latest
stage: build
services:
- docker:dind
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script:
- |
if [[ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]]; then
tag=""
echo "Running on default branch '$CI_DEFAULT_BRANCH': tag = 'latest'"
else
tag=":$CI_COMMIT_REF_SLUG"
echo "Running on branch '$CI_COMMIT_BRANCH': tag = $tag"
fi
- docker build --pull -f Dockerfile -t "$CI_REGISTRY_IMAGE${tag}" .
- docker push "$CI_REGISTRY_IMAGE${tag}"
\ No newline at end of file
FROM debian:trixie
ENV CARGO_HOME="$HOME/.cargo"
RUN apt update && \
apt install curl wget zip unzip rustup && \
rm -rf /var/lib/apt/lists/*
RUN rustup install stable -y && \
rustup default stable -y && \
rustup install nightly && \
cargo install junitify
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment