From 7533b8510cc6a812bccea9fc457e07ef79d98809 Mon Sep 17 00:00:00 2001 From: lgtm <1gtm@users.noreply.github.com> Date: Tue, 27 Aug 2024 14:45:32 -0700 Subject: [PATCH] Remove docker registry support (#795) /cherry-pick Signed-off-by: Tamal Saha Co-authored-by: Tamal Saha --- .github/workflows/ci.yml | 6 +++--- .github/workflows/release.yml | 9 --------- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b10a38ac..3dae1868 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,9 +34,9 @@ jobs: - name: Build env: - REGISTRY: appscodeci - DOCKER_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} + REGISTRY: ghcr.io/appscodeci + DOCKER_TOKEN: ${{ secrets.LGTM_GITHUB_TOKEN }} USERNAME: 1gtm run: | - docker login --username ${USERNAME} --password ${DOCKER_TOKEN} + docker login ghcr.io --username ${USERNAME} --password ${DOCKER_TOKEN} make push diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 325ba943..9821cd21 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,12 +39,3 @@ jobs: run: | docker login ghcr.io --username ${USERNAME} --password ${DOCKER_TOKEN} make release - - - name: Publish to Docker Registry - env: - DOCKER_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} - USERNAME: 1gtm - APPSCODE_ENV: prod - run: | - docker login --username ${USERNAME} --password ${DOCKER_TOKEN} - make release