This commit is contained in:
2025-11-27 19:55:39 -07:00
parent e8d41f7e92
commit 0a6fe79fae
+35
View File
@@ -0,0 +1,35 @@
#stages:
# - build
# - run
#
#variables:
# IMAGE_NAME: "$CI_REGISTRY_IMAGE/diouxs-builder:$CI_COMMIT_SHA"
#
#build-image:
# stage: build
# image: docker:latest
# services:
# - docker:dind
# variables:
# DOCKER_DRIVER: overlay2
# script:
# - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
# - docker build -t "$IMAGE_NAME" .
# - docker push "$IMAGE_NAME"
# only:
# - branches
stages:
- run
run:
stage: run
image: rust:latest
script:
- echo "foo"
- echo "bar"
- echo "baz" > foo
artifacts:
paths:
- ./foo
expire_in: 1 week