diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8db6313..cec0d97 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -4,7 +4,7 @@ on: push: branches: [ main ] tags-ignore: [ "**" ] - paths-ignore: [ "**.md" ] + paths-ignore: [ "**.md", ".github/workflows/release.yaml" ] pull_request: types: [opened, synchronize] paths-ignore: [ "**.md" ] diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8d26424..dbc6687 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,8 +9,6 @@ jobs: name: Release Binaries And Docker Images runs-on: ubuntu-latest if: startsWith(github.ref, 'refs/tags/') - env: - RELEASE: "true" steps: - name: Set up Go uses: actions/setup-go@v2 @@ -22,7 +20,7 @@ jobs: with: fetch-depth: 0 - name: Get Devtools - run: make setup + run: make ci-setup - name: Get dependencies run: go mod download diff --git a/README.md b/README.md index 9bfb32e..2051bbf 100644 --- a/README.md +++ b/README.md @@ -215,7 +215,7 @@ make e2e This tag the commit and push to origin. Release pipeline will be run in Github Actions. ```shell -make RELEASE=true RELEASE_TAG=vX.Y.Z +make release RELEASE=true RELEASE_TAG=vX.Y.Z ``` ## License