From 49a5ba90495a2a816ef2e4bdb564ff964ec927c8 Mon Sep 17 00:00:00 2001 From: Rory Z <16801068+Rory-Z@users.noreply.github.com> Date: Wed, 25 Sep 2024 10:17:06 +0800 Subject: [PATCH] ci: rename ghcr image Signed-off-by: Rory Z <16801068+Rory-Z@users.noreply.github.com> --- .github/workflows/cts.yaml | 4 ++-- .github/workflows/release.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cts.yaml b/.github/workflows/cts.yaml index c99d9244..52ce44b3 100644 --- a/.github/workflows/cts.yaml +++ b/.github/workflows/cts.yaml @@ -71,7 +71,7 @@ jobs: - uses: docker/metadata-action@v5 id: meta with: - images: ghcr.io/${{ github.repository_owner }}/emqx-operator-controller + images: ghcr.io/${{ github.repository_owner }}/emqx-operator flavor: | latest=true tags: | @@ -133,7 +133,7 @@ jobs: timeout-minutes: 5 uses: ./.github/actions/deploy-operator with: - repository: ghcr.io/${{ github.repository_owner }}/emqx-operator-controller + repository: ghcr.io/${{ github.repository_owner }}/emqx-operator tag: ${{ github.ref_name }} - name: Deploy emqx timeout-minutes: 5 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 258e2263..5589941f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -61,7 +61,7 @@ jobs: - uses: docker/build-push-action@v5 with: platforms: linux/amd64,linux/arm64,linux/arm/v7 - push: ${{ startsWith(github.ref, 'refs/tags/') }} + push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} context: .