Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
HAfAH
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
Analyze
Contributor 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
hive
HAfAH
Commits
575f5dbc
Verified
Commit
575f5dbc
authored
1 year ago
by
Konrad Botor
Browse files
Options
Downloads
Patches
Plain Diff
Updated publishing script to publish the minimal image
parent
01e8514f
No related branches found
No related tags found
2 merge requests
!123
Latest image publishing scripts delivered to master
,
!122
Updated publishing script to publish the minimal image
Pipeline
#91033
failed
11 months ago
Stage: build
Stage: test
Stage: publish
Stage: cleanup
Changes
2
Pipelines
8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
haf
+1
-1
1 addition, 1 deletion
haf
scripts/ci-helpers/build_instance.sh
+4
-0
4 additions, 0 deletions
scripts/ci-helpers/build_instance.sh
with
5 additions
and
1 deletion
haf
@
4e9bfea0
Compare
af710133
...
4e9bfea0
Subproject commit
af7101337e730655a6f7821f7840c17596d30c98
Subproject commit
4e9bfea03ef9511984f3ed54c6181d05b24cd960
This diff is collapsed.
Click to expand it.
scripts/ci-helpers/build_instance.sh
+
4
−
0
View file @
575f5dbc
...
...
@@ -66,6 +66,7 @@ REGISTRY=${REG:-$REGISTRY}
APP_PORT
=
${
APP_PORT
:-
6543
}
HAF_POSTGRES_URL
=
${
HAF_POSTGRES_URL
:-
postgresql
://hafah_user@haf:5432/haf_block_log
}
HAFAH_IMAGE_NAME
=
${
REGISTRY
}
instance:
$HAFAH_IMAGE_TAG
HAFAH_MINIMAL_IMAGE_NAME
=
${
REGISTRY
}
minimal-instance:
$HAFAH_IMAGE_TAG
printf
"Parameter values:
\n
- SOURCE_DIR: %s
\n
- APP_PORT: %d
\n
- HAF_POSTGRES_URL: %s
\n
- HAFAH_IMAGE_NAME: %s
\n\n
"
\
"
$SOURCE_DIR
"
"
$APP_PORT
"
"
$HAF_POSTGRES_URL
"
"
$HAFAH_IMAGE_NAME
"
...
...
@@ -115,6 +116,9 @@ docker buildx build \
--build-arg
GIT_LAST_COMMIT_DATE
=
"
$GIT_LAST_COMMIT_DATE
"
\
--target
=
instance
\
--tag
"
$HAFAH_IMAGE_NAME
"
\
--load
\
--file
Dockerfile
.
docker tag
"
$HAFAH_IMAGE_NAME
"
"
$HAFAH_MINIMAL_IMAGE_NAME
"
popd
\ No newline at end of file
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