From 521b545c8435c6add35709b9878675ee29fd3332 Mon Sep 17 00:00:00 2001 From: Yunus Sandikci Date: Thu, 1 Feb 2024 18:22:45 +0300 Subject: [PATCH 1/2] . --- .github/workflows/{linter.yaml => lint.yaml} | 0 .github/workflows/release.yaml | 2 +- Dockerfile | 4 +--- README.md | 7 +++++++ 4 files changed, 9 insertions(+), 4 deletions(-) rename .github/workflows/{linter.yaml => lint.yaml} (100%) diff --git a/.github/workflows/linter.yaml b/.github/workflows/lint.yaml similarity index 100% rename from .github/workflows/linter.yaml rename to .github/workflows/lint.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a454510..2fa258d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -5,7 +5,7 @@ on: types: [published] env: - IMAGE: "nccloud/watchtower" + IMAGE: ${{ github.repository_owner }}/${{ github.repository }} REGISTRY: "ghcr.io" GO_VERSION: "1.21" TAG: ${{ github.event.release.tag_name }} diff --git a/Dockerfile b/Dockerfile index f03f50f..658772f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,5 @@ FROM golang:1.21 as builder -ARG GITHUB_TOKEN - WORKDIR /workspace COPY go.mod go.mod COPY go.sum go.sum @@ -16,4 +14,4 @@ WORKDIR /app COPY --from=builder /workspace/manager . -ENTRYPOINT ["/app/manager"] \ No newline at end of file +ENTRYPOINT ["/app/manager"] diff --git a/README.md b/README.md index debefc6..c21f756 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,13 @@ logo +![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/nccloud/watchtower) +![GitHub Release](https://img.shields.io/github/v/release/nccloud/watchtower) +[![Go Reference](https://pkg.go.dev/badge/github.com/NCCloud/watchtower.svg)](https://pkg.go.dev/github.com/NCCloud/watchtower) +![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/nccloud/watchtower/test.yaml?label=tests) +![GitHub issues](https://img.shields.io/github/issues/nccloud/watchtower) +![GitHub License](https://img.shields.io/github/license/nccloud/watchtower) + ## 📖 General Information Watchtower is CRD-based Kubernetes operator that monitors changes to resources and exports them to one or more endpoints, From 74913e31211adf691577e2d4fa4003447c640bd5 Mon Sep 17 00:00:00 2001 From: Yunus Sandikci Date: Thu, 1 Feb 2024 18:40:08 +0300 Subject: [PATCH 2/2] Update release.yaml --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2fa258d..a454510 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -5,7 +5,7 @@ on: types: [published] env: - IMAGE: ${{ github.repository_owner }}/${{ github.repository }} + IMAGE: "nccloud/watchtower" REGISTRY: "ghcr.io" GO_VERSION: "1.21" TAG: ${{ github.event.release.tag_name }}