@@ -4,16 +4,16 @@ name: Publish
44# Container Registry, following the tag conventions documented in the devops repo
55# (infra/azure/registry/README.md) — the registry cleanup task keys on those shapes.
66#
7- # push to main -> openops .azurecr.io/openops-mcp
7+ # push to main -> openopsinternal .azurecr.io/openops-mcp
88# per arch: <sha>-<arch>, main-<sha>-<arch>, main-<arch>
99# manifest: <sha>, main
10- # release published -> openopspublic .azurecr.io/openops-mcp: <version>, latest
10+ # release published -> openops .azurecr.io/openops-mcp: <version>, latest
1111# (version = tag without leading v; latest not moved by pre-releases)
1212# Not a rebuild: the release commit's image is promoted from the
1313# private registry, the same way the openops release flow re-tags
1414# the tested ECR image. Releasing a commit therefore requires that
1515# its image was already published from main and not yet cleaned up.
16- # manual dispatch -> openops .azurecr.io/openops-mcp (branch builds, for testing)
16+ # manual dispatch -> openopsinternal .azurecr.io/openops-mcp (branch builds, for testing)
1717# per arch: <sha>-<arch>, <branch>-<sha>-<arch>, <branch>-<arch>
1818# manifest: <sha>, <branch>
1919#
5151 with :
5252 creds : ' {"clientId":"${{ secrets.AZURE_CLIENT_ID }}","clientSecret":"${{ secrets.AZURE_CLIENT_SECRET }}","subscriptionId":"${{ secrets.AZURE_SUBSCRIPTION_ID }}","tenantId":"${{ secrets.AZURE_TENANT_ID }}"}'
5353 - name : ACR login
54- run : az acr login --name openops
54+ run : az acr login --name openopsinternal
5555 - name : Set up Docker Buildx
5656 uses : docker/setup-buildx-action@v4.3.0
5757 - name : Format image tags
6060 run : |
6161 short_sha="${GITHUB_SHA:0:8}"
6262 branch="${GITHUB_REF_NAME//[\/.:_]/-}"
63- repo=openops .azurecr.io/openops-mcp
63+ repo=openopsinternal .azurecr.io/openops-mcp
6464 {
6565 echo "SHORT_SHA=$short_sha"
6666 echo "TAGS<<EOF"
@@ -98,15 +98,15 @@ jobs:
9898 with :
9999 creds : ' {"clientId":"${{ secrets.AZURE_CLIENT_ID }}","clientSecret":"${{ secrets.AZURE_CLIENT_SECRET }}","subscriptionId":"${{ secrets.AZURE_SUBSCRIPTION_ID }}","tenantId":"${{ secrets.AZURE_TENANT_ID }}"}'
100100 - name : ACR login
101- run : az acr login --name openops
101+ run : az acr login --name openopsinternal
102102 - name : Set up Docker Buildx
103103 uses : docker/setup-buildx-action@v4.3.0
104104 - name : Create and push manifest lists
105105 run : |
106106 set -x
107107 short_sha="${GITHUB_SHA:0:8}"
108108 branch="${GITHUB_REF_NAME//[\/.:_]/-}"
109- repo=openops .azurecr.io/openops-mcp
109+ repo=openopsinternal .azurecr.io/openops-mcp
110110 docker buildx imagetools create \
111111 -t "$repo:$short_sha" \
112112 -t "$repo:$branch" \
@@ -127,8 +127,8 @@ jobs:
127127 creds : ' {"clientId":"${{ secrets.AZURE_CLIENT_ID }}","clientSecret":"${{ secrets.AZURE_CLIENT_SECRET }}","subscriptionId":"${{ secrets.AZURE_SUBSCRIPTION_ID }}","tenantId":"${{ secrets.AZURE_TENANT_ID }}"}'
128128 - name : ACR login
129129 run : |
130+ az acr login --name openopsinternal
130131 az acr login --name openops
131- az acr login --name openopspublic
132132 - name : Set up Docker Buildx
133133 uses : docker/setup-buildx-action@v4.3.0
134134 - name : Promote image to the public registry
@@ -137,10 +137,10 @@ jobs:
137137 PRERELEASE : ${{ github.event.release.prerelease }}
138138 run : |
139139 version="${TAG#v}"
140- source="openops .azurecr.io/openops-mcp:${GITHUB_SHA:0:8}"
141- tags=(-t "openopspublic .azurecr.io/openops-mcp:$version")
140+ source="openopsinternal .azurecr.io/openops-mcp:${GITHUB_SHA:0:8}"
141+ tags=(-t "openops .azurecr.io/openops-mcp:$version")
142142 # Anonymous consumers pull :latest by default; a pre-release must not move it.
143143 if [ "$PRERELEASE" != "true" ]; then
144- tags+=(-t "openopspublic .azurecr.io/openops-mcp:latest")
144+ tags+=(-t "openops .azurecr.io/openops-mcp:latest")
145145 fi
146146 docker buildx imagetools create "${tags[@]}" "$source"
0 commit comments