We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d145b4c commit 69e4908Copy full SHA for 69e4908
.github/workflows/dockerimage.yml
@@ -2,8 +2,6 @@ name: docker-image
2
3
on:
4
push:
5
- branches:
6
- - master
7
tags:
8
- v*
9
@@ -13,6 +11,8 @@ jobs:
13
11
steps:
14
12
- name: checkout
15
uses: actions/checkout@v2
+ with:
+ fetch-depth: 0
16
17
- name: build and push to github packages
18
uses: docker/build-push-action@v1
Dockerfile
@@ -2,7 +2,7 @@ FROM golang:alpine AS BUILD
# make binary
RUN apk add --no-cache build-base musl-dev git curl make cmake
-RUN git clone https://github.com/projecteru2/core.git /go/src/github.com/projecteru2/core
+COPY . /go/src/github.com/projecteru2/core
WORKDIR /go/src/github.com/projecteru2/core
ARG KEEP_SYMBOL
RUN make build && ./eru-core --version
0 commit comments