Skip to content

Commit c368f7d

Browse files
committed
Minor
1 parent 9202992 commit c368f7d

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,11 @@ jobs:
136136
- name: Prepare Image
137137
run: |
138138
make prepare-image
139-
sed -e 's/-ld.*$/& -X github.com/andig/evcc/server/updater.Password=${{ secrets.IMAGE_PASS }}/' buildflags/github.com/andig/evcc/buildflags.txt > buildflags/github.com/andig/evcc/buildflags.txt
139+
sed -i -e 's#-ld.*$#& -X github.com/andig/evcc/server/updater.Password=${{ secrets.IMAGE_PASS }}#' buildflags/github.com/andig/evcc/buildflags.txt
140+
cat buildflags/github.com/andig/evcc/buildflags.txt
140141
mkdir /home/runner/.config/gokrazy
141142
echo ${{ secrets.IMAGE_PASS }}> /home/runner/.config/gokrazy/http-password.txt
143+
cat /home/runner/.config/gokrazy/http-password.txt
142144
143145
- name: Build Image
144146
run: make image

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ publish-images:
7575
seihon publish --dry-run=false --template docker/tmpl.Dockerfile --base-runtime-image alpine:$(ALPINE_VERSION) \
7676
--image-name $(DOCKER_IMAGE) -v "latest" -v "$(TAG_NAME)" --targets=$(TARGETS)
7777

78-
image-prepare:
78+
prepare-image:
7979
go get github.com/gokrazy/tools/cmd/gokr-packer@latest
8080
mkdir -p flags/github.com/gokrazy/breakglass
8181
echo "-forward=private-network" > flags/github.com/gokrazy/breakglass/flags.txt

assets/ico/site.webmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
"type": "image/png"
1818
}
1919
]
20-
}
20+
}

server/assets.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

server/updater/gokrazy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const (
2222
)
2323

2424
var (
25-
Password = "FIat2WTD8i3tJikkvIJI"
25+
Password = "SECRET"
2626
Port = 8080
2727
)
2828

0 commit comments

Comments
 (0)