diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4051e18b..3a9558a9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,12 +51,6 @@ jobs: - name: Docker setup Buildx uses: docker/setup-buildx-action@v3 - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - username: gztime - password: ${{ secrets.DOCKER_PASSWORD }} - - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: @@ -70,7 +64,6 @@ jobs: with: images: | ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}/gzctf - gztime/gzctf flavor: | latest=${{ startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, '-') }} tags: | @@ -87,18 +80,3 @@ jobs: labels: ${{ steps.meta.outputs.labels }} platforms: linux/amd64,linux/arm64 push: true - - - name: Prune old packages - uses: vlaurin/action-ghcr-prune@v0.6.0 - with: - dry-run: false - token: ${{ secrets.PACKAGE_TOKEN }} - container: ${{ github.event.repository.name }}/gzctf - keep-tags-regexes: ^v\d+\.\d+\.\d+$ - prune-tags-regexes: ^[0-9a-f]{6,40} - keep-tags: | - latest - main - develop - keep-last: 20 - prune-untagged: false