diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 853a4f65d3294b3b69c613fd0b26c3222442f51a..6462a5e0c3ee7a6c38d19f4ae06253a09ec1d7d6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,7 @@ stages: - test - build + - deploy test: image: rust:1.82.0-slim-bookworm @@ -10,3 +11,15 @@ test: include: - component: gitlab.sauerburger.com/sauerburger-it/devops/kaniko-build@0.2.1-alpha + +deploy: + image: $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG + stage: deploy + variables: + GIT_STRATEGY: none + script: + - cp /bin/tcpjunction . + artifacts: + paths: + - tcpjunction + expire_in: 30 days