Skip to content

Commit

Permalink
build: adjust project naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Santos committed Mar 3, 2023
1 parent 1e9edea commit c983482
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 4 deletions.
9 changes: 9 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,12 @@ dockers:
- "ghcr.io/loq9/{{ .ProjectName }}:{{ .Tag }}"
- "ghcr.io/loq9/{{ .ProjectName }}:latest"
dockerfile: "Dockerfile.minimal"
build_flag_templates:
- --label=org.opencontainers.image.title={{ .ProjectName }}
- --label=org.opencontainers.image.description={{ .ProjectName }}
- --label=org.opencontainers.image.url=https://github.com/LOQ9/gitlab-code-quality
- --label=org.opencontainers.image.source=https://github.com/LOQ9/gitlab-code-quality
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=MIT
2 changes: 1 addition & 1 deletion Dockerfile.minimal
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.16
FROM alpine:3.17

RUN apk update && \
apk add --no-cache curl ca-certificates && \
Expand Down
21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021-2023 Marco Santos

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
3 changes: 2 additions & 1 deletion cmd/gitlab-code-quality/commands/transform.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ import (
"encoding/xml"
"errors"
"fmt"
"gitlab-code-quality/model"
"io/ioutil"
"os"
"path/filepath"
"strings"

"github.com/LOQ9/gitlab-code-quality/model"

"github.com/spf13/cobra"
"github.com/spf13/pflag"
)
Expand Down
3 changes: 2 additions & 1 deletion cmd/gitlab-code-quality/main.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package main

import (
"gitlab-code-quality/cmd/gitlab-code-quality/commands"
"os"

"github.com/LOQ9/gitlab-code-quality/cmd/gitlab-code-quality/commands"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module gitlab-code-quality
module github.com/LOQ9/gitlab-code-quality

go 1.20

Expand Down

0 comments on commit c983482

Please sign in to comment.