@@ -74,11 +74,11 @@ runs:
7474 env :
7575 REGISTRY_ALIAS : ' w3i4n7u1' # either the default or custom
7676 with :
77- # Each registry to match the `tags` in CSV format for the build-push-action
77+ # # Each registry to match the `tags` in CSV format for the build-push-action
78+ # docker.io/mcp/awslabs/${{ inputs.image }}
7879 images : |
79- docker.io/awslabs/${{ inputs.image }}
80- ghcr.io/${{ github.repository }}/${{ inputs.image }}
8180 public.ecr.aws/${{ env.REGISTRY_ALIAS }}/mcp/${{ inputs.image }}
81+ ghcr.io/${{ github.repository_owner }}/mcp/${{ inputs.image }}
8282
8383 # Disable all but the raw and sha
8484 tags : |
@@ -102,12 +102,12 @@ runs:
102102 org.opencontainers.image.version=${{ inputs.version || github.sha }}
103103 org.opencontainers.image.vendor=Amazon Web Service, Inc.
104104
105- - name : Login to Docker Hub
106- id : login-docker-hub
107- uses : docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
108- with :
109- username : ${{ inputs.docker-hub-username }}
110- password : ${{ inputs.docker-hub-password }}
105+ # - name: Login to Docker Hub
106+ # id: login-docker-hub
107+ # uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
108+ # with:
109+ # username: ${{ inputs.docker-hub-username }}
110+ # password: ${{ inputs.docker-hub-password }}
111111
112112 - name : Login to GitHub Container Registry
113113 id : login-github-container-registry
@@ -152,8 +152,7 @@ runs:
152152 # platforms: 'linux/amd64,linux/arm64' # less effient than matrix, but actions cannot deal with it...
153153 platforms : ' linux/amd64' # add more platforms after testing completed
154154 labels : ${{ steps.meta.outputs.labels }}
155- tags : docker.io/${{ github.repository_owner }}/${{ inputs.image }},ghcr.io/${{ github.repository }}/${{ inputs.image }},public.ecr.aws/${{ env.REGISTRY_ALIAS }}/mcp/${{ inputs.image }}
156- # tags: docker.io/${{ github.repository_owner }}/${{ inputs.image }}
155+ tags : public.ecr.aws/${{ env.REGISTRY_ALIAS }}/mcp/${{ inputs.image }},ghcr.io/${{ github.repository }}/mcp/${{ inputs.image }}
157156 context : ./src/${{ inputs.image }}
158157 file : ./src/${{ inputs.image }}/Dockerfile
159158 push : true
0 commit comments