fix(package): rename package

This commit is contained in:
Matthieu 'JP' DERASSE 2023-08-09 16:08:03 +00:00
parent 05ac49fd68
commit 11b4cd84c9
Signed by: mderasse
GPG Key ID: 55141C777B16A705
4 changed files with 2 additions and 38 deletions

View File

@ -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: {}

View File

@ -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"]

View File

@ -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)

2
go.mod
View File

@ -1,3 +1,3 @@
module git.dev.m-and-m.ovh/mderasse/teslastock-sdk
module git.dev.m-and-m.ovh/mderasse/teslastock_sdk
go 1.19