Skip to content

Commit 3990129

Browse files
authored
GCR AWS plus publish fix (#4934)
remove GCP marketplace from release process
1 parent 19706a7 commit 3990129

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/build-plus.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,13 @@ jobs:
8080
service_account: ${{ secrets.GCR_SERVICE_ACCOUNT_MKTPL }}
8181
if: github.ref_type == 'tag' && ! contains(inputs.target, 'aws')
8282

83-
- name: Login to GCR for Marketplace
84-
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
85-
with:
86-
registry: gcr.io
87-
username: oauth2accesstoken
88-
password: ${{ steps.auth-mktpl.outputs.access_token }}
89-
if: github.ref_type == 'tag' && ! contains(inputs.target, 'aws')
83+
# - name: Login to GCR for Marketplace
84+
# uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
85+
# with:
86+
# registry: gcr.io
87+
# username: oauth2accesstoken
88+
# password: ${{ steps.auth-mktpl.outputs.access_token }}
89+
# if: github.ref_type == 'tag' && ! contains(inputs.target, 'aws')
9090

9191
- name: Configure AWS Credentials
9292
uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a # v4.0.1
@@ -124,7 +124,6 @@ jobs:
124124
with:
125125
images: |
126126
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
127-
name=gcr.io/f5-7626-networks-public/nginxinc/nginx-plus-ingress${{ contains(inputs.nap_modules, 'waf') && '-nap' || '' }}${{ contains(inputs.nap_modules, 'dos') && '-dos' || '' }},enable=${{ github.ref_type == 'tag' && ! contains(inputs.target, 'aws') && ! contains(inputs.image, 'alpine') && ! contains(inputs.image, 'ubi') }}
128127
name=docker-mgmt.nginx.com/nginx-ic${{ contains(inputs.nap_modules, 'waf') && '-nap' || '' }}${{ contains(inputs.nap_modules, 'dos') && '-dos' || '' }}/nginx-plus-ingress,enable=${{ github.ref_type != 'pull_request' && ! startsWith(github.ref, 'refs/heads/release-') && ! contains(inputs.target, 'aws') }}
129128
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=${{ github.ref_type == 'tag' && contains(inputs.target, 'aws') }}
130129
flavor: |
@@ -136,7 +135,6 @@ jobs:
136135
type=ref,event=branch,enable=${{ startsWith(github.ref, 'refs/heads/release-') }}
137136
type=schedule
138137
type=semver,pattern={{version}}
139-
type=semver,pattern={{major}}.{{minor}}
140138
labels: |
141139
org.opencontainers.image.description=NGINX Plus Ingress Controller for Kubernetes
142140
org.opencontainers.image.documentation=https://docs.nginx.com/nginx-ingress-controller

0 commit comments

Comments
 (0)