Skip to content

Commit cdf4ed6

Browse files
committed
Build without docker.io
1 parent d8fa6b0 commit cdf4ed6

2 files changed

Lines changed: 4 additions & 17 deletions

File tree

.github/workflows/build.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,6 @@ jobs:
3333
- name: Set up Docker Buildx
3434
uses: docker/setup-buildx-action@v3
3535

36-
- name: Login to DockerHub
37-
uses: docker/login-action@v3
38-
with:
39-
username: ${{ secrets.DOCKERHUB_USERNAME }}
40-
password: ${{ secrets.DOCKERHUB_TOKEN }}
41-
4236
- name: Login to GHCR (GitHub Packages)
4337
uses: docker/login-action@v3
4438
with:
@@ -76,12 +70,6 @@ jobs:
7670
- name: Set up Docker Buildx
7771
uses: docker/setup-buildx-action@v3
7872

79-
- name: Login to DockerHub
80-
uses: docker/login-action@v3
81-
with:
82-
username: ${{ secrets.DOCKERHUB_USERNAME }}
83-
password: ${{ secrets.DOCKERHUB_TOKEN }}
84-
8573
- name: Login to GHCR (GitHub Packages)
8674
uses: docker/login-action@v3
8775
with:
@@ -93,7 +81,6 @@ jobs:
9381
with:
9482
tags: |
9583
ghcr.io/${{ github.repository }}/${{matrix.os}}:latest
96-
cran/${{matrix.os}}:latest
9784
sources: |
9885
ghcr.io/${{ github.repository }}/${{matrix.os}}:latest_amd64
9986
ghcr.io/${{ github.repository }}/${{matrix.os}}:latest_arm64

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,22 @@ The CRAN team always uses the [Debian testing](https://packages.debian.org/testi
1515

1616
```sh
1717
# Get the latest image
18-
docker pull cran/debian
18+
docker pull ghcr.io/r-devel/rcheckserver/debian
1919

2020
# Start interactive bash shell
21-
docker run --rm -it cran/debian bash
21+
docker run --rm -it ghcr.io/r-devel/rcheckserver/debian bash
2222
```
2323

2424
To quickly test if a package can be built:
2525

2626
```sh
27-
docker run --rm -it cran/debian R -e 'install.packages("pdftools")'
27+
docker run --rm -it ghcr.io/r-devel/rcheckserver/debian R -e 'install.packages("pdftools")'
2828
```
2929

3030
Alternatively, our [ubuntu based image](ubuntu/Dockerfile) provides a similar environment based on the latest Ubuntu (LTS) server, but with the latest R installed from [CRAN](https://cran.r-project.org/bin/linux/ubuntu/). This image is smaller and more stable, with slightly older system libraries than Debian, and only non-breaking updates.
3131

3232
```sh
33-
docker run --rm -it cran/ubuntu R -e 'install.packages("magick")'
33+
docker run --rm -it ghcr.io/r-devel/rcheckserver/ubuntu R -e 'install.packages("magick")'
3434
```
3535

3636
## Source code

0 commit comments

Comments
 (0)