From 167315d91d0b59b06d0519290388380275f0288d Mon Sep 17 00:00:00 2001 From: Adam Wolfe Gordon Date: Thu, 21 May 2026 14:04:27 -0600 Subject: [PATCH] ci: Remove image promotion steps We don't build container images for the CLI (yet) and therefore don't have image promotion nix targets, but forgot to remove the image promotion steps from our Promote action. Signed-off-by: Adam Wolfe Gordon --- .github/workflows/promote.yml | 44 ----------------------------------- 1 file changed, 44 deletions(-) diff --git a/.github/workflows/promote.yml b/.github/workflows/promote.yml index 485cc46..7c27bdf 100644 --- a/.github/workflows/promote.yml +++ b/.github/workflows/promote.yml @@ -20,9 +20,7 @@ permissions: contents: read env: - DOCKER_USR: ${{ secrets.DOCKER_USR }} AWS_USR: ${{ secrets.AWS_USR }} - UPBOUND_MARKETPLACE_PUSH_ROBOT_USR: ${{ secrets.UPBOUND_MARKETPLACE_PUSH_ROBOT_USR }} jobs: promote: @@ -44,48 +42,6 @@ jobs: name: crossplane authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} - - name: Login to DockerHub - uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3 - if: env.DOCKER_USR != '' - with: - username: ${{ secrets.DOCKER_USR }} - password: ${{ secrets.DOCKER_PSW }} - - - name: Login to Upbound - uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3 - if: env.UPBOUND_MARKETPLACE_PUSH_ROBOT_USR != '' - with: - registry: xpkg.upbound.io - username: ${{ secrets.UPBOUND_MARKETPLACE_PUSH_ROBOT_USR }} - password: ${{ secrets.UPBOUND_MARKETPLACE_PUSH_ROBOT_PSW }} - - - name: Login to GitHub Container Registry - uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Promote Images to DockerHub - if: env.DOCKER_USR != '' - env: - VERSION: ${{ inputs.version }} - CHANNEL: ${{ inputs.channel }} - run: nix run .#promote-images -- crossplane/crossplane "$VERSION" "$CHANNEL" - - - name: Promote Images to Upbound - if: env.UPBOUND_MARKETPLACE_PUSH_ROBOT_USR != '' - env: - VERSION: ${{ inputs.version }} - CHANNEL: ${{ inputs.channel }} - run: nix run .#promote-images -- xpkg.upbound.io/crossplane/crossplane "$VERSION" "$CHANNEL" - - - name: Promote Images to GitHub Container Registry - env: - VERSION: ${{ inputs.version }} - CHANNEL: ${{ inputs.channel }} - run: nix run .#promote-images -- ghcr.io/crossplane/crossplane "$VERSION" "$CHANNEL" - - name: Promote Artifacts to S3 if: env.AWS_USR != '' env: