Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: docker-image

on:
push:
branches:
- master
tags:
- v*

Expand All @@ -13,6 +11,8 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: build and push to github packages
uses: docker/build-push-action@v1
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down