From 0644d98afef60f87ee1b76aec6a31742936f68a6 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Tue, 22 Jun 2021 11:25:52 +0200 Subject: [PATCH] Remove GitHub Packages Docker Registry Signed-off-by: CrazyMax --- .github/workflows/ci.yml | 14 -------------- README.md | 29 ----------------------------- 2 files changed, 43 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3fb08f1..e6a2a3a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -164,20 +164,6 @@ jobs: username: ${{ secrets.AWS_ACCESS_KEY_ID }} password: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - github-package: - runs-on: ubuntu-latest - steps: - - - name: Checkout - uses: actions/checkout@v2 - - - name: Login to GitHub Package Registry - uses: ./ - with: - registry: docker.pkg.github.com - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - github-container: runs-on: ubuntu-latest steps: diff --git a/README.md b/README.md index 542e4bb..f2de6f6 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,6 @@ ___ * [Usage](#usage) * [Docker Hub](#docker-hub) - * [GitHub Packages Docker Registry](#github-packages-docker-registry) * [GitHub Container Registry](#github-container-registry) * [GitLab](#gitlab) * [Azure Container Registry (ACR)](#azure-container-registry-acr) @@ -54,34 +53,6 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} ``` -### GitHub Packages Docker Registry - -> :warning: GitHub Packages Docker Registry (aka `docker.pkg.github.com`) **is deprecated** and will sunset early next -> year. It's strongly advised to [migrate to GitHub Container Registry](https://docs.github.com/en/packages/getting-started-with-github-container-registry/migrating-to-github-container-registry-for-docker-images) -> instead. - -You can configure the Docker client to use [GitHub Packages to publish and retrieve docker images](https://docs.github.com/en/packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages). - -```yaml -name: ci - -on: - push: - branches: master - -jobs: - login: - runs-on: ubuntu-latest - steps: - - - name: Login to GitHub Packages Docker Registry - uses: docker/login-action@v1 - with: - registry: docker.pkg.github.com - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} -``` - ### GitHub Container Registry To use the [GitHub Container Registry](https://docs.github.com/en/packages/getting-started-with-github-container-registry),