Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
nut-upsd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Docker
nut-upsd
Merge requests
!1
MVP
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
MVP
develop
into
master
Overview
0
Commits
8
Pipelines
8
Changes
1
Merged
Erick Hitter
requested to merge
develop
into
master
5 years ago
Overview
0
Commits
8
Pipelines
8
Changes
1
Expand
Build images for linux/amd64 and arm (whatever the Pi 4 needs)
Merge config directories
Update sample so daemon accepts external connections
Consider exposing stats endpoints too
Anything useful in the entrypoints of other implementations?
https://github.com/upshift-docker/nut-upsd
https://github.com/instantlinux/docker-tools/tree/master/images/nut-upsd
Edited
5 years ago
by
Erick Hitter
0
0
Merge request reports
Viewing commit
f6b4d6b7
Prev
Next
Show latest version
1 file
+
11
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
f6b4d6b7
Build amd64 and arm7 images
· f6b4d6b7
Erick Hitter
authored
5 years ago
.gitlab-ci.yml
+
11
−
3
Options
@@ -41,10 +41,18 @@ build:master:
-
master
when
:
manual
build:dev
:
build:dev
-amd64
:
stage
:
deploy
script
:
-
docker build --pull -t "$CI_REGISTRY_IMAGE:dev" ./context/
# - docker push "$CI_REGISTRY_IMAGE:dev"
-
docker build --build-arg opts="CGO_ENABLED=0 GOARCH=amd64" --pull -t "$CI_REGISTRY_IMAGE:dev-amd64" ./context/
# - docker push "$CI_REGISTRY_IMAGE:dev-amd64"
except
:
-
master
build:dev-arm7
:
stage
:
deploy
script
:
-
docker build --build-arg opts="GOARCH=arm GOARM=7" --pull -t "$CI_REGISTRY_IMAGE:dev-arm7" ./context/
# - docker push "$CI_REGISTRY_IMAGE:dev-arm7"
except
:
-
master
Loading