Skip to content

Commit

Permalink
fix(release): 🐛 (#12) fix bug with missing binary
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasAugustin committed Aug 16, 2023
1 parent 55db94b commit 9f717c3
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ body:
- type: input
id: actions-template-sync-version
attributes:
label: Template sync version Version
description: The template sync version you are running.
label: go-gitmoji-cli Version
description: The version you are running.
validations:
required: true
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ dockers:
- --label=org.opencontainers.image.created={{ .Date }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=MIT
dockerfile: Dockerfile
dockerfile: release.Dockerfile
skip_push: false
# use: buildx

Expand Down
16 changes: 16 additions & 0 deletions release.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM golang:1.21-alpine3.18
# install packages
RUN apk add --update --no-cache bash make git zsh curl tmux

# Make zsh your default shell for tmux
RUN echo "set-option -g default-shell /bin/zsh" >> /root/.tmux.conf

# install oh-my-zsh
RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

VOLUME /go_gitmoji_cli
WORKDIR /go_gitmoji_cli

COPY go-gitmoji-cli /usr/bin/

ENTRYPOINT ["/bin/zsh"]

0 comments on commit 9f717c3

Please sign in to comment.