From 1eff1a99e933b7d964bceaa1eae1281de50b521d Mon Sep 17 00:00:00 2001 From: Tommy Chen Date: Tue, 2 Apr 2024 17:37:47 +0800 Subject: [PATCH] ci: Run publish job --- .github/workflows/build_and_test.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_and_test.yaml b/.github/workflows/build_and_test.yaml index 991627d25cc..f0b32da166d 100644 --- a/.github/workflows/build_and_test.yaml +++ b/.github/workflows/build_and_test.yaml @@ -156,7 +156,7 @@ jobs: uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0 with: username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Setup Multiarch Environment if: github.event_name == 'push' @@ -165,14 +165,14 @@ jobs: - name: Build and Push EG Commit Image if: github.event_name == 'push' # tag is set to the short SHA of the commit - run: make image.push.multiarch PLATFORMS="linux_amd64 linux_arm64" IMAGE=envoyproxy/gateway-dev + run: make image.push.multiarch PLATFORMS="linux_amd64 linux_arm64" IMAGE=dcard/envoy-gateway - name: Build and Push EG Latest Image if: github.event_name == 'push' && github.ref == 'refs/heads/main' # tag is set to `latest` when pushing to main branch - run: make image.push.multiarch TAG=latest PLATFORMS="linux_amd64 linux_arm64" IMAGE=envoyproxy/gateway-dev + run: make image.push.multiarch TAG=latest PLATFORMS="linux_amd64 linux_arm64" IMAGE=dcard/envoy-gateway - - name: Build and Push EG Latest Helm Chart - if: github.event_name == 'push' && github.ref == 'refs/heads/main' - # use `0.0.0` as the default latest version. - run: OCI_REGISTRY=oci://docker.io/envoyproxy CHART_VERSION=v0.0.0-latest TAG=latest make helm-package helm-push + # - name: Build and Push EG Latest Helm Chart + # if: github.event_name == 'push' && github.ref == 'refs/heads/main' + # # use `0.0.0` as the default latest version. + # run: OCI_REGISTRY=oci://docker.io/envoyproxy CHART_VERSION=v0.0.0-latest TAG=latest make helm-package helm-push