diff --git a/README.md b/README.md index 4df47cc2dd440989e30726e3cb74267f4b8e99a6..b44d1bbe7213356dc27b486f91ec4d592e97acc0 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,17 @@ Repo for Container registry. Mainly for testing in CI. +## Usage +Use for example +```yml +image: "registry.jsc.fz-juelich.de/faber1/gitlab-container/testing:rust" +``` +in your ```.gitlab-ci.yml````. + ## Testing Containers ### Rust Bare rust image tag: ```gitlab-container/testing:rust``` + + +## Creating container +Run scripts in the corresponding directories. diff --git a/testing/rust/Dockerfile b/testing/rust/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..63970aa410a2a0cecc3471b4cc2d69aed4f02fff --- /dev/null +++ b/testing/rust/Dockerfile @@ -0,0 +1 @@ +FROM rust:latest diff --git a/testing/rust/build_command.sh b/testing/rust/build_command.sh new file mode 100644 index 0000000000000000000000000000000000000000..e422e0dfc0b52dfa505cc5daf673dcc5c86623d3 --- /dev/null +++ b/testing/rust/build_command.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +docker build --platform="linux/amd64" -t registry.jsc.fz-juelich.de/faber1/gitlab-container/testing:rust . +docker push registry.jsc.fz-juelich.de/faber1/gitlab-container/testing:rust