Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
imghost
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
Container registry
Model registry
Operate
Environments
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
Janne Mareike Koschinski
imghost
Commits
12959356
Verified
Commit
12959356
authored
5 years ago
by
Janne Mareike Koschinski
Browse files
Options
Downloads
Patches
Plain Diff
Updated build scripts
parent
7b3eb892
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Dockerfile
+1
-1
1 addition, 1 deletion
Dockerfile
Makefile
+14
-0
14 additions, 0 deletions
Makefile
build.sh
+0
-9
0 additions, 9 deletions
build.sh
deploy.sh
+0
-7
0 additions, 7 deletions
deploy.sh
with
15 additions
and
17 deletions
Dockerfile
+
1
−
1
View file @
12959356
...
...
@@ -19,4 +19,4 @@ WORKDIR /
COPY
--from=go_builder /go/src/app/app /app
COPY
templates /templates
COPY
--from=asset_builder /app/assets /assets
ENTRYPOINT
["/app"]
\ No newline at end of file
ENTRYPOINT
["/app"]
This diff is collapsed.
Click to expand it.
Makefile
0 → 100644
+
14
−
0
View file @
12959356
IMAGE
:=
k8r.eu/justjanne/
$(
shell
basename
$(
shell git remote get-url origin
)
.git
)
TAGS
:=
$(
shell git describe
--always
--tags
HEAD
)
.PHONY
:
build
build
:
docker build
--pull
-t
$(
IMAGE
)
:
$(
TAGS
)
.
docker tag
$(
IMAGE
)
:
$(
TAGS
)
$(
IMAGE
)
:latest
@
echo
Successfully tagged
$(
IMAGE
)
:
$(
TAGS
)
as latest
.PHONY
:
push
push
:
build
docker push
$(
IMAGE
)
:
$(
TAGS
)
docker push
$(
IMAGE
)
:latest
@
echo
Successfully pushed
$(
IMAGE
)
:
$(
TAGS
)
as latest
This diff is collapsed.
Click to expand it.
build.sh
deleted
100755 → 0
+
0
−
9
View file @
7b3eb892
#!/bin/sh
IMAGE
=
k8r.eu/justjanne/imghost-frontend
TAGS
=
$(
git describe
--always
--tags
HEAD
)
docker build
-t
$IMAGE
:
$TAGS
.
docker tag
$IMAGE
:
$TAGS
$IMAGE
:latest
echo
Successfully tagged
$IMAGE
:latest
docker push
$IMAGE
:
$TAGS
docker push
$IMAGE
:latest
\ No newline at end of file
This diff is collapsed.
Click to expand it.
deploy.sh
deleted
100755 → 0
+
0
−
7
View file @
7b3eb892
#!/bin/sh
IMAGE
=
k8r.eu/justjanne/imghost-frontend
TAGS
=
$(
git describe
--always
--tags
HEAD
)
DEPLOYMENT
=
imghost-frontend
POD
=
imghost-frontend
kubectl
-n
imghost
set
image deployment/
$DEPLOYMENT
$POD
=
$IMAGE
:
$TAGS
\ 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