mirror of
https://github.com/alibaba/higress.git
synced 2026-02-28 22:50:57 +08:00
Update build-image-and-push.yaml
This commit is contained in:
8
.github/workflows/build-image-and-push.yaml
vendored
8
.github/workflows/build-image-and-push.yaml
vendored
@@ -67,7 +67,6 @@ jobs:
|
||||
run: |
|
||||
GOPROXY="https://proxy.golang.org,direct" make docker-buildx-push
|
||||
BUILT_IMAGE="higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/higress"
|
||||
docker push $BUILT_IMAGE:$GITHUB_SHA
|
||||
readarray -t IMAGES <<< "${{ steps.docker-meta.outputs.tags }}"
|
||||
for image in ${IMAGES[@]}; do
|
||||
echo "Image: $image"
|
||||
@@ -189,6 +188,13 @@ jobs:
|
||||
type=ref,event=tag
|
||||
type=semver,pattern={{version}}
|
||||
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
|
||||
|
||||
- name: Login to Docker Registry
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ${{ env.PILOT_IMAGE_REGISTRY }}
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
|
||||
- name: Build Gateway Image and Push
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user