fix(package): rename package
This commit is contained in:
parent
05ac49fd68
commit
11b4cd84c9
21
.drone.yml
21
.drone.yml
@ -90,27 +90,6 @@ steps:
|
||||
- lint
|
||||
- tidy
|
||||
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
repo: registry.dev.m-and-m.ovh/m-and-m/tesla
|
||||
username:
|
||||
from_secret: registry_username
|
||||
password:
|
||||
from_secret: registry_password
|
||||
registry: registry.dev.m-and-m.ovh
|
||||
debug: true
|
||||
tags:
|
||||
- latest
|
||||
when:
|
||||
status:
|
||||
- success
|
||||
depends_on:
|
||||
- test
|
||||
- lint
|
||||
- tidy
|
||||
|
||||
volumes:
|
||||
- name: gopath
|
||||
temp: {}
|
15
Dockerfile
15
Dockerfile
@ -1,15 +0,0 @@
|
||||
FROM golang:alpine
|
||||
|
||||
# Set destination for COPY
|
||||
WORKDIR /app
|
||||
|
||||
# Download Go modules
|
||||
|
||||
COPY . /app
|
||||
RUN go mod download
|
||||
|
||||
# Build
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -o /app/tesla
|
||||
|
||||
# Run
|
||||
CMD ["/app/tesla"]
|
@ -1,3 +1,3 @@
|
||||
# Tesla Stock Sdk
|
||||
|
||||
[![Build Status](https://drone.dev.m-and-m.ovh/api/badges/mderasse/teslastock-sdk/status.svg?ref=refs/heads/main)](https://drone.dev.m-and-m.ovh/mderasse/teslastock-sdk)
|
||||
[![Build Status](https://drone.dev.m-and-m.ovh/api/badges/mderasse/teslastock_sdk/status.svg?ref=refs/heads/main)](https://drone.dev.m-and-m.ovh/mderasse/teslastock_sdk)
|
||||
|
Loading…
Reference in New Issue
Block a user