Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Duniter v2S
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
rust
Duniter v2S
Commits
bd8b91ba
Commit
bd8b91ba
authored
1 year ago
by
Cédric Moreau
Browse files
Options
Downloads
Patches
Plain Diff
fix(
#122
): do not build/publish tag-based GDev specific images
parent
eeca04ca
No related branches found
No related tags found
1 merge request
!191
Resolve "CI/Docker: only publish images for active networks"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+0
-33
0 additions, 33 deletions
.gitlab-ci.yml
with
0 additions
and
33 deletions
.gitlab-ci.yml
+
0
−
33
View file @
bd8b91ba
...
...
@@ -64,14 +64,6 @@ fmt_and_clippy:
-
cargo clippy -- -V
-
cargo clippy --all --tests -- -D warnings
.docker_build
:
stage
:
build
script
:
-
echo podman build --layers --tag "$IMAGE_NAME:$IMAGE_TAG" -f docker/Dockerfile $PODMAN_BUILD_OPTIONS .
-
podman build --layers --tag "$IMAGE_NAME:$IMAGE_TAG" -f docker/Dockerfile $PODMAN_BUILD_OPTIONS .
tags
:
-
podman
.docker_release_build
:
stage
:
build
rules
:
...
...
@@ -135,11 +127,6 @@ gtest_docker_release_deploy:
tags
:
-
podman
.docker_deploy_native
:
extends
:
.docker_deploy
script
:
-
podman push "localhost/$IMAGE_NAME:$IMAGE_TAG" "docker://docker.io/$IMAGE_NAME:$IMAGE_TAG"
.docker_deploy_multiplatform
:
extends
:
.docker_deploy
script
:
...
...
@@ -151,16 +138,6 @@ gtest_docker_release_deploy:
variables
:
MANIFEST
:
"
localhost/manifest-$IMAGE_NAME:$IMAGE_TAG"
build_release_tag
:
extends
:
.docker_build
rules
:
-
if
:
"
$CI_COMMIT_TAG
&&
$CI_COMMIT_TAG
=~
/^(v|runtime-)[0-9].*/"
-
when
:
never
variables
:
IMAGE_NAME
:
"
duniter/duniter-v2s"
IMAGE_TAG
:
"
$CI_COMMIT_TAG"
PODMAN_BUILD_OPTIONS
:
"
--platform
linux/amd64"
run_benchmarks
:
stage
:
tests
extends
:
.docker_build
...
...
@@ -217,16 +194,6 @@ tests:
-
cargo tu
-
cargo cucumber
deploy_docker_release_tag
:
stage
:
deploy
extends
:
.docker_deploy_native
rules
:
-
if
:
"
$CI_COMMIT_TAG
&&
$CI_COMMIT_TAG
=~
/^(v|runtime-)[0-9].*/"
-
when
:
never
variables
:
IMAGE_NAME
:
"
duniter/duniter-v2s"
IMAGE_TAG
:
"
$CI_COMMIT_TAG"
deploy_docker_release_tag_multiplatform
:
stage
:
deploy
needs
:
[
"
deploy_docker_release_tag"
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment