Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Jan 21, 2021
1 parent 9202992 commit c368f7d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,11 @@ jobs:
- name: Prepare Image
run: |
make prepare-image
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
sed -i -e 's#-ld.*$#& -X github.com/andig/evcc/server/updater.Password=${{ secrets.IMAGE_PASS }}#' buildflags/github.com/andig/evcc/buildflags.txt
cat buildflags/github.com/andig/evcc/buildflags.txt
mkdir /home/runner/.config/gokrazy
echo ${{ secrets.IMAGE_PASS }}> /home/runner/.config/gokrazy/http-password.txt
cat /home/runner/.config/gokrazy/http-password.txt
- name: Build Image
run: make image
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ publish-images:
seihon publish --dry-run=false --template docker/tmpl.Dockerfile --base-runtime-image alpine:$(ALPINE_VERSION) \
--image-name $(DOCKER_IMAGE) -v "latest" -v "$(TAG_NAME)" --targets=$(TARGETS)

image-prepare:
prepare-image:
go get github.com/gokrazy/tools/cmd/gokr-packer@latest
mkdir -p flags/github.com/gokrazy/breakglass
echo "-forward=private-network" > flags/github.com/gokrazy/breakglass/flags.txt
Expand Down
2 changes: 1 addition & 1 deletion assets/ico/site.webmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
"type": "image/png"
}
]
}
}
4 changes: 2 additions & 2 deletions server/assets.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion server/updater/gokrazy.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const (
)

var (
Password = "FIat2WTD8i3tJikkvIJI"
Password = "SECRET"
Port = 8080
)

Expand Down

0 comments on commit c368f7d

Please sign in to comment.