Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gotify
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
firehouse-smokedetection
plugins
gotify
Commits
0f0c1891
Commit
0f0c1891
authored
2 months ago
by
Jonas Leder
Browse files
Options
Downloads
Patches
Plain Diff
add container for easier copy of plugin to backend container
parent
a95788e3
No related branches found
No related tags found
No related merge requests found
Pipeline
#59259
failed
2 months ago
Stage: build
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+4
-0
4 additions, 0 deletions
.gitlab-ci.yml
Dockerfile
+10
-0
10 additions, 0 deletions
Dockerfile
with
14 additions
and
0 deletions
.gitlab-ci.yml
+
4
−
0
View file @
0f0c1891
...
...
@@ -11,3 +11,7 @@ build-application-binary:
paths
:
-
gotify.so
expire_in
:
1 week
include
:
-
project
:
'
infra/ci'
file
:
'
/pipelines/docker.yml'
This diff is collapsed.
Click to expand it.
Dockerfile
0 → 100644
+
10
−
0
View file @
0f0c1891
FROM
golang:1.24.1-alpine
AS
build
RUN
apk add
--no-cache
--update
gcc g++
WORKDIR
/app
COPY
go.mod go.sum ./
RUN
go mod download
COPY
./ ./
RUN
CGO_ENABLED
=
1
GOOS
=
linux go build
-buildmode
=
plugin
-ldflags
"-w -s"
-o
/gotify.so .
FROM
scratch
COPY
--from=build /gotify.so /gotify.so
\ 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