|
30 | 30 | publish-aws-market-place: |
31 | 31 | required: false |
32 | 32 | type: boolean |
33 | | - publish-gcp-market-place: |
34 | | - required: false |
35 | | - type: boolean |
36 | 33 | publish-nginx-reqistry: |
37 | 34 | required: false |
38 | 35 | type: boolean |
|
92 | 89 | password: ${{ steps.auth.outputs.access_token }} |
93 | 90 | if: ${{ inputs.publish-image || ! inputs.forked-workflow }} |
94 | 91 |
|
95 | | - - name: Authenticate to Google Cloud Marketplace |
96 | | - id: auth-mktpl |
97 | | - uses: google-github-actions/auth@55bd3a7c6e2ae7cf1877fd1ccb9d54c0503c457c # v2.1.2 |
98 | | - with: |
99 | | - token_format: access_token |
100 | | - workload_identity_provider: ${{ secrets.GCR_WORKLOAD_IDENTITY_MKTPL }} |
101 | | - service_account: ${{ secrets.GCR_SERVICE_ACCOUNT_MKTPL }} |
102 | | - if: ${{ inputs.publish-gcp-market-place }} |
103 | | - |
104 | | - - name: Login to GCR for Marketplace |
105 | | - uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v3.1.0 |
106 | | - with: |
107 | | - registry: gcr.io |
108 | | - username: oauth2accesstoken |
109 | | - password: ${{ steps.auth-mktpl.outputs.access_token }} |
110 | | - if: ${{ inputs.publish-gcp-market-place }} |
111 | | - |
112 | 92 | - name: Configure AWS Credentials |
113 | 93 | uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2 |
114 | 94 | with: |
@@ -144,7 +124,6 @@ jobs: |
144 | 124 | with: |
145 | 125 | images: | |
146 | 126 | name=gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/dev/nginx-ic${{ contains(inputs.nap_modules, 'dos') && '-dos' || '' }}${{ contains(inputs.nap_modules, 'waf') && '-nap' || '' }}/nginx-plus-ingress |
147 | | - name=gcr.io/f5-7626-networks-public/nginxinc/nginx-plus-ingress${{ contains(inputs.nap_modules, 'waf') && '-nap' || '' }}${{ contains(inputs.nap_modules, 'dos') && '-dos' || '' }},enable=${{ inputs.publish-gcp-market-place && ! contains(inputs.target, 'aws') && ! contains(inputs.image, 'alpine') && ! contains(inputs.image, 'ubi') }} |
148 | 127 | name=docker-mgmt.nginx.com/nginx-ic${{ contains(inputs.nap_modules, 'waf') && '-nap' || '' }}${{ contains(inputs.nap_modules, 'dos') && '-dos' || '' }}/nginx-plus-ingress,enable=${{ inputs.publish-nginx-reqistry && ! contains(inputs.target, 'aws') }} |
149 | 128 | name=709825985650.dkr.ecr.us-east-1.amazonaws.com/nginx/nginx-plus-ingress${{ contains(inputs.nap_modules, 'dos') && '-dos' || '' }}${{ contains(inputs.nap_modules, 'waf') && '-nap' || '' }},enable=${{ inputs.publish-aws-market-place && contains(inputs.target, 'aws') }} |
150 | 129 | flavor: | |
|
0 commit comments