Skip to content

Commit

Permalink
add go build tags to workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
merlinfuchs committed May 11, 2023
1 parent 4ee6249 commit f8d59c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN apt-get install -y build-essential curl
RUN curl -OL https://golang.org/dl/go1.20.4.linux-amd64.tar.gz
RUN tar -C /usr/local -xvf go1.20.4.linux-amd64.tar.gz
ENV PATH=$PATH:/usr/local/go/bin
RUN cd embedg-server && go build && cd ..
RUN cd embedg-server && go build --tags embedapp && cd ..

FROM debian:bullseye-slim
WORKDIR /root/
Expand Down
4 changes: 4 additions & 0 deletions embedg-server/.goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
builds:
- binary: embedg-server
tags:
- embedapp

0 comments on commit f8d59c8

Please sign in to comment.