diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bf8adf2..2fd8dbc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,6 +24,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: Log in to the Container registry uses: docker/login-action@v1 @@ -48,10 +50,10 @@ jobs: id: vnum with: # The prefix to use to identify tags - tag_prefix: "v" + tag_prefix: "" major_pattern: "(MAJOR)" minor_pattern: "(MINOR)" - version_format: "${major}.${minor}.${increment}" + version_format: "${major}.${minor}.${patch}-${increment}" bump_each_commit: true - name: Build and push Docker image