Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Commit 258bac4

Browse files
author
Sameer Naik
authored
Merge pull request #231 from triggermesh/docker-fix
dockerfile: fix path to tm binary from build stage
2 parents 0a156ed + 3cb0910 commit 258bac4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ RUN apt-get update && \
2323
apt-get install --no-install-recommends --no-install-suggests -y ca-certificates && \
2424
rm -rf /var/lib/apt/lists/*
2525

26-
COPY --from=build /go/bin/linux_amd64/tm /bin/tm
26+
COPY --from=build /go/bin/tm /bin/tm

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ TARGETS ?= darwin/amd64 linux/amd64 windows/amd64
44
DIST_DIR ?=
55

66
GIT_REPO = github.com/triggermesh/tm
7-
GIT_TAG ?= $(shell git describe --tags --always)
7+
GIT_TAG ?= $(shell git for-each-ref refs/tags --sort=-taggerdate --format='%(refname:short)' --count=1)
88

99
DOCKER = docker
1010
IMAGE_REPO ?= gcr.io/triggermesh

0 commit comments

Comments
 (0)