Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
duniter-squid
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
duniter-squid
Merge requests
!28
Automate container build and deployment (
#46
)
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Automate container build and deployment (
#46
)
46_build_deploment_automation
into
main
Overview
0
Commits
3
Pipelines
0
Changes
7
Merged
Moul
requested to merge
46_build_deploment_automation
into
main
4 months ago
Overview
0
Commits
3
Pipelines
0
Changes
7
Expand
CI: Introduce container build and deployment automation
Delete container build scripts
compose: Use images from GitLab Registry
websites/duniter-website-en-v2!11 (merged)
Close
#46 (closed)
.
Edited
4 months ago
by
Moul
1
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
e9b57498
3 commits,
4 months ago
7 files
+
55
−
44
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
7
Search (e.g. *.vue) (Ctrl+P)
scripts/build-docker-image-hasura.sh deleted
100755 → 0
+
0
−
18
Options
#!/bin/bash
set
-e
# Get the version number from package.json
version_tag
=
$(
grep
-oP
'"version": "\K[^"]+'
package.json
)
latest_tag
=
"latest"
docker buildx build
-f
Dockerfile.Hasura
-t
duniter-squid-hasura
.
# Tag specific version
docker image tag duniter-squid-hasura:latest h30x/duniter-squid-hasura:
$version_tag
docker image push h30x/duniter-squid-hasura:
$version_tag
# Tag "latest"
docker image tag duniter-squid-hasura:latest h30x/duniter-squid-hasura:
$latest_tag
docker image push h30x/duniter-squid-hasura:
$latest_tag
Loading