From 11b4cd84c987c337b09b1feef57db7ae591d0243 Mon Sep 17 00:00:00 2001 From: Matthieu 'JP' DERASSE Date: Wed, 9 Aug 2023 16:08:03 +0000 Subject: [PATCH] fix(package): rename package --- .drone.yml | 21 --------------------- Dockerfile | 15 --------------- README.md | 2 +- go.mod | 2 +- 4 files changed, 2 insertions(+), 38 deletions(-) delete mode 100644 Dockerfile diff --git a/.drone.yml b/.drone.yml index 2aad105..2cf397a 100644 --- a/.drone.yml +++ b/.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: {} \ No newline at end of file diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index f9bf19c..0000000 --- a/Dockerfile +++ /dev/null @@ -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"] \ No newline at end of file diff --git a/README.md b/README.md index 492b476..a463c95 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/go.mod b/go.mod index 15a8834..37d8cca 100644 --- a/go.mod +++ b/go.mod @@ -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