Skip to content

Commit

Permalink
update tags matcher for cd
Browse files Browse the repository at this point in the history
  • Loading branch information
maciaszczykm committed Mar 4, 2024
1 parent 7d2b339 commit 94dd3cb
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/cd-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ jobs:
ghcr.io/kubernetes/dashboard-api
docker.io/kubernetesui/dashboard-api
tags: |
type=semver,pattern=api/{{version}}
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
type=raw,value=latest
type=match,pattern=\d+\.\d+\.\d+
type=sha
- uses: docker/setup-qemu-action@v3.0.0
- uses: docker/setup-buildx-action@v3.0.0
- uses: docker/login-action@v3.0.0
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/cd-auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ jobs:
ghcr.io/kubernetes/dashboard-auth
docker.io/kubernetesui/dashboard-auth
tags: |
type=semver,pattern=auth/{{version}}
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
type=raw,value=latest
type=match,pattern=\d+\.\d+\.\d+
type=sha
- uses: docker/setup-qemu-action@v3.0.0
- uses: docker/setup-buildx-action@v3.0.0
- uses: docker/login-action@v3.0.0
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/cd-metrics-scraper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ jobs:
ghcr.io/kubernetes/dashboard-metrics-scraper
docker.io/kubernetesui/dashboard-metrics-scraper
tags: |
type=semver,pattern=metrics-scraper/{{version}}
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
type=raw,value=latest
type=match,pattern=\d+\.\d+\.\d+
type=sha
- uses: docker/setup-qemu-action@v3.0.0
- uses: docker/setup-buildx-action@v3.0.0
- uses: docker/login-action@v3.0.0
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/cd-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ jobs:
ghcr.io/kubernetes/dashboard-web
docker.io/kubernetesui/dashboard-web
tags: |
type=semver,pattern=web/{{version}}
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
type=raw,value=latest
type=match,pattern=\d+\.\d+\.\d+
type=sha
- uses: docker/setup-qemu-action@v3.0.0
- uses: docker/setup-buildx-action@v3.0.0
- uses: docker/login-action@v3.0.0
Expand Down

0 comments on commit 94dd3cb

Please sign in to comment.