diff options
author | 2020-11-15 02:24:21 +0100 | |
---|---|---|
committer | 2020-11-15 02:24:21 +0100 | |
commit | 8578d69569886c12e7fd52d258ee67543af801c2 (patch) | |
tree | 42844c869cb6c5cdef694fe7a2f0dd6690391cca | |
parent | Change CI badge to GitHub Actions (diff) |
Remove DockerHub from GitHub Actions
We're no longer using DockerHub in our deployment for SeasonalBot, so it
does not make sense to keep pushing containers there.
-rw-r--r-- | .github/workflows/lint-build-deploy.yaml | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/.github/workflows/lint-build-deploy.yaml b/.github/workflows/lint-build-deploy.yaml index 7ce5d9a3..c70e49b7 100644 --- a/.github/workflows/lint-build-deploy.yaml +++ b/.github/workflows/lint-build-deploy.yaml @@ -114,12 +114,6 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - - name: Login to DockerHub - uses: docker/login-action@v1 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - - name: Login to Github Container Registry uses: docker/login-action@v1 with: @@ -127,9 +121,9 @@ jobs: username: ${{ github.repository_owner }} password: ${{ secrets.GHCR_TOKEN }} - # This step currently pushes to both DockerHub and GHCR to - # make the migration easier. The DockerHub push will be - # removed once we've migrated to our K8s cluster. + # Build and push the container to the GitHub Container + # Repository. The container will be tagged as "latest" + # and with the short SHA of the commit. - name: Build and push uses: docker/build-push-action@v2 with: @@ -140,8 +134,6 @@ jobs: tags: | ghcr.io/python-discord/seasonalbot:latest ghcr.io/python-discord/seasonalbot:${{ steps.sha_tag.outputs.tag }} - pythondiscord/seasonalbot:latest - pythondiscord/seasonalbot:${{ steps.sha_tag.outputs.tag }} - name: Authenticate with Kubernetes uses: azure/k8s-set-context@v1 |