From 0f9b9aed621b07e194e71f625d4bf5bf7361e0fd Mon Sep 17 00:00:00 2001 From: Abdelrahman Ahmed <16365652+abahmed@users.noreply.github.com> Date: Sun, 19 Dec 2021 14:59:12 +0200 Subject: [PATCH] release v0.0.6 (#13) --- .github/workflows/publish.yaml | 2 +- Dockerfile | 2 +- README.md | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index c12ef890..567caaaf 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -6,7 +6,7 @@ on: jobs: push_to_registry: - name: Push Docker image to Docker Hub + name: Push Docker image to GitHub Container Registry runs-on: ubuntu-latest steps: - name: Check out the repo diff --git a/Dockerfile b/Dockerfile index 602467bd..37cdee51 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ COPY go.mod go.sum /build/ RUN go mod download COPY . /build/ -RUN sed -i '' -e 's/dev/'"${RELEASE_VERSION}"'/g' constant/constant.go +RUN sed -i 's/dev/'"${RELEASE_VERSION}"'/g' constant/constant.go RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a --installsuffix cgo --ldflags="-s" FROM alpine:latest diff --git a/README.md b/README.md index f794c1cf..73bc385d 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ You need to get config template to add your configs ```shell -curl -L https://raw.githubusercontent.com/abahmed/kwatch/v0.0.4/deploy/config.yaml -o config.yaml +curl -L https://raw.githubusercontent.com/abahmed/kwatch/v0.0.6/deploy/config.yaml -o config.yaml ``` Then edit `config.yaml` file and apply your configuration @@ -46,7 +46,7 @@ kubectl apply -f config.yaml To deploy **kwatch**, execute following command: ```shell -kubectl apply -f https://raw.githubusercontent.com/abahmed/kwatch/v0.0.4/deploy/deploy.yaml +kubectl apply -f https://raw.githubusercontent.com/abahmed/kwatch/v0.0.6/deploy/deploy.yaml ``` ### Configuration @@ -66,8 +66,8 @@ kubectl apply -f https://raw.githubusercontent.com/abahmed/kwatch/v0.0.4/deploy/ ### Cleanup ```shell -kubectl delete -f https://raw.githubusercontent.com/abahmed/kwatch/v0.0.4/deploy/config.yaml -kubectl delete -f https://raw.githubusercontent.com/abahmed/kwatch/v0.0.4/deploy/deploy.yaml +kubectl delete -f https://raw.githubusercontent.com/abahmed/kwatch/v0.0.6/deploy/config.yaml +kubectl delete -f https://raw.githubusercontent.com/abahmed/kwatch/v0.0.6/deploy/deploy.yaml ``` ## Contributors