Skip to content
Snippets Groups Projects
Commit c4cc76cf authored by Falk Rehse's avatar Falk Rehse
Browse files

Initial image

parents
No related branches found
No related tags found
No related merge requests found
Pipeline #99654 passed
build:
image: quay.io/containers/podman
stage: build
before_script:
- podman --storage-driver vfs 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
- podman --storage-driver vfs build --pull -t "$CI_REGISTRY_IMAGE${tag}" .
- podman --storage-driver vfs push "$CI_REGISTRY_IMAGE${tag}"
rules:
- if: $CI_COMMIT_BRANCH
exists:
- Dockerfile
FROM docker.io/library/rust:1.63-bullseye
RUN apt-get update
RUN apt-get -y install librust-alsa-sys-dev libudev-dev
# BevyJam CI
CI image for bevyjam
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment