mirror of
https://github.com/linka-cloud/d2vm.git
synced 2025-06-23 13:52:26 +00:00
actions: setup tests and releases
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
16
Dockerfile
16
Dockerfile
@ -1,3 +1,17 @@
|
||||
# Copyright 2022 Linka Cloud All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
FROM golang as builder
|
||||
|
||||
WORKDIR /d2vm
|
||||
@ -9,7 +23,7 @@ RUN go mod download
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN make build
|
||||
RUN make .build
|
||||
|
||||
FROM ubuntu
|
||||
|
||||
|
Reference in New Issue
Block a user