Skip to content

Commit

Permalink
policy match uses tyk-ee (#375)
Browse files Browse the repository at this point in the history
* policy match uses tyk-ee

tyk-ee replaces tyk

* Fix tag source for ee images

---------

Co-authored-by: Alok G Singh <[email protected]>
  • Loading branch information
alephnull and Alok G Singh authored Oct 29, 2024
1 parent 905daa9 commit 9cd8a9f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmd/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ var matchSubCmd = &cobra.Command{
return err
}

repos := []string{"tyk", "tyk-analytics", "tyk-pump", "tyk-sink"}
repos := []string{"tyk-ee", "tyk-analytics", "tyk-pump", "tyk-sink"}
tagOverride := args[0]
tagMatch := args[1]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
{{ end }}
{{ range $edition := $editions }}
- name: Docker metadata for CI {{ $edition }}
id: ci_metadata_{{ $edition }}
id: ci_metadata
if: {{`${{ matrix.golang_cross == '` }}{{$.Branchvals.Buildenv}}{{`' }}`}}
uses: docker/metadata-action@v5
with:
Expand Down Expand Up @@ -208,7 +208,7 @@
{{ end }}
{{ range $edition := $editions }}
- name: Docker metadata for tag push {{ $edition }}
id: tag_metadata_{{ $edition }}
id: tag_metadata
uses: docker/metadata-action@v5
with:
images: |
Expand Down Expand Up @@ -242,8 +242,8 @@
cache-from: type=gha
cache-to: type=gha,mode=max
push: {{`${{ startsWith(github.ref, 'refs/tags') }}`}}
tags: {{`${{ steps.tag_metadata_` }}{{ $edition }}{{`.outputs.tags }}`}}
labels: {{`${{ steps.tag_metadata_` }}{{ $edition }}{{`.outputs.labels }}`}}
tags: {{`${{ steps.tag_metadata.outputs.tags }}`}}
labels: {{`${{ steps.tag_metadata.outputs.labels }}`}}
build-args: |
EDITION={{ if $edition }}-{{ end }}{{ $edition }}
{{ end }}
Expand Down

0 comments on commit 9cd8a9f

Please sign in to comment.