Compare commits
No commits in common. "main" and "v0.0.3" have entirely different histories.
@ -20,8 +20,10 @@ steps:
|
||||
|
||||
commands:
|
||||
- sudo chmod 666 /var/run/docker.sock
|
||||
- curl -sL https://git.io/goreleaser -o /tmp/goreleaser-download
|
||||
- chmod +x /tmp/goreleaser-download
|
||||
- sudo chown -R circleci:circleci .
|
||||
- curl -sfL https://goreleaser.com/static/run | bash -s -- release --clean
|
||||
- /tmp/goreleaser-download release --clean
|
||||
|
||||
trigger:
|
||||
event:
|
||||
|
@ -1,16 +1,14 @@
|
||||
version: 2
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
|
||||
before:
|
||||
hooks:
|
||||
- sudo apt update
|
||||
# you may remove this if you don't use vgo
|
||||
- sudo apt install rpm
|
||||
- go mod tidy
|
||||
- go mod download
|
||||
- go generate ./...
|
||||
|
||||
builds:
|
||||
- env:
|
||||
- CGO_ENABLED=0
|
||||
-
|
||||
flags:
|
||||
- -trimpath
|
||||
goos:
|
||||
@ -20,7 +18,18 @@ builds:
|
||||
- amd64
|
||||
|
||||
archives:
|
||||
- format: zip
|
||||
-
|
||||
format: zip
|
||||
|
||||
snapshot:
|
||||
name_template: "{{ .Tag }}-next"
|
||||
|
||||
changelog:
|
||||
sort: asc
|
||||
filters:
|
||||
exclude:
|
||||
- '^docs:'
|
||||
- '^test:'
|
||||
|
||||
nfpms:
|
||||
-
|
||||
@ -31,7 +40,7 @@ nfpms:
|
||||
|
||||
# Your app's homepage.
|
||||
# Default is empty.
|
||||
homepage: https://blog.kazu634.com/
|
||||
#homepage: https://example.com/
|
||||
|
||||
# Your app's maintainer (probably you).
|
||||
# Default is empty.
|
||||
@ -48,31 +57,21 @@ release:
|
||||
name: moneyforward
|
||||
|
||||
disable: false
|
||||
mode: append
|
||||
|
||||
gitea_urls:
|
||||
api: https://gitea.kazu634.com/api/v1/
|
||||
download: https://gitea.kazu634.com
|
||||
|
||||
changelog:
|
||||
sort: asc
|
||||
filters:
|
||||
exclude:
|
||||
- "^docs:"
|
||||
- "^test:"
|
||||
|
||||
dockers:
|
||||
-
|
||||
image_templates:
|
||||
- reg.kazu634.com/kazu634/{{ .ProjectName }}:{{ .Tag }}
|
||||
- reg.kazu634.com/kazu634/{{ .ProjectName }}:latest
|
||||
- reg.kazu634.com/kazu634/{{ .ProjectName }}:{{ .Tag }}
|
||||
- reg.kazu634.com/kazu634/{{ .ProjectName }}:latest
|
||||
|
||||
goos: linux
|
||||
goarch: amd64
|
||||
|
||||
dockerfile: Dockerfile
|
||||
|
||||
skip_push: false
|
||||
|
||||
push_flags:
|
||||
- --tls-verify=false
|
||||
- --tls-verify=false
|
||||
|
12
Dockerfile
Executable file → Normal file
12
Dockerfile
Executable file → Normal file
@ -1,13 +1,9 @@
|
||||
FROM ubuntu:24.04
|
||||
FROM alpine:latest
|
||||
|
||||
ENV TZ='Asia/Tokyo'
|
||||
|
||||
RUN apt update && apt install -y wget
|
||||
|
||||
WORKDIR /tmp
|
||||
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && apt install -y ./google-chrome-stable_current_amd64.deb
|
||||
RUN apk add --no-cache libc6-compat tzdata && \
|
||||
cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime && \
|
||||
apk del tzdata
|
||||
|
||||
ADD ./moneyforward /usr/local/bin/moneyforward
|
||||
|
||||
CMD ["/usr/local/bin/moneyforward"]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user