Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=${GOARCH} go build -a -installsuffix cgo -o
# Runtime stage
FROM registry.access.redhat.com/ubi10/ubi-minimal:10.0

RUN microdnf --disableplugin=subscription-manager install -y git

COPY --from=builder /build/patternizer /usr/local/bin/patternizer

ARG PATTERNIZER_RESOURCES_DIR=/tmp/resources
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Patternizer

![Version: 1.3.0](https://img.shields.io/badge/Version-1.3.0-informational?style=flat-square)
![Version: 1.3.1](https://img.shields.io/badge/Version-1.3.1-informational?style=flat-square)
[![Quay Repository](https://img.shields.io/badge/Quay.io-patternizer-blue?logo=quay)](https://quay.io/repository/validatedpatterns/patternizer)
[![CI Pipeline](https://github.com/validatedpatterns/patternizer/actions/workflows/build-push.yaml/badge.svg?branch=main)](https://github.com/validatedpatterns/patternizer/actions/workflows/build-push.yaml)

Expand Down
3 changes: 1 addition & 2 deletions src/internal/pattern/pattern.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ import (
)

// GetPatternNameAndRepoRoot returns the pattern name and repository root directory.
// It attempts to detect the pattern name from the Git repository URL,
// falling back to the directory name if Git is not available.
// The pattern name is derived from the basename of the current working directory.
func GetPatternNameAndRepoRoot() (patternName, repoRoot string, err error) {
// Get the current working directory
repoRoot, err = os.Getwd()
Expand Down
Loading