Skip to content

Commit

Permalink
ci: change version extration method
Browse files Browse the repository at this point in the history
  • Loading branch information
dsluijk committed Jul 22, 2022
1 parent fcc19ff commit db5674d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Docker Publish
on:
push:
tags:
- "*"
- "authentik-operator-*"

jobs:
buildDockerImage:
Expand All @@ -26,9 +26,8 @@ jobs:
with:
images: ghcr.io/dsluijk/authentik-operator
tags: |
type=match, group=1, pattern=(\d*\.\d*\.\d*(.*)?)
type=sha, prefix={{date 'X'}}-
type=semver, pattern={{version}}
latest
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,3 @@ jobs:
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.PAT_TOKEN }}"
CR_RELEASE_NAME_TEMPLATE: "v{{ .Version }}"

0 comments on commit db5674d

Please sign in to comment.