Skip to content

Commit

Permalink
[CI] Build the linux/arm64 platform to rocker/rstudio:latest-daily (
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi committed Dec 22, 2022
1 parent 1466525 commit d67d65b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/devel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ jobs:
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and push Docker images
Expand Down
3 changes: 2 additions & 1 deletion bakefiles/core-latest-daily.docker-bake.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"docker.io/rocker/rstudio:latest-daily"
],
"platforms": [
"linux/amd64"
"linux/amd64",
"linux/arm64"
],
"cache-from": [
"docker.io/rocker/rstudio:latest-daily"
Expand Down
1 change: 1 addition & 0 deletions build/make-stacks.R
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ latest_daily <- jsonlite::read_json("stacks/core-latest-daily.json")
latest_daily$stack <- template$stack[2:4]
latest_daily$stack[[1]]$FROM <- "rocker/r-ver:latest"
latest_daily$stack[[1]]$ENV$RSTUDIO_VERSION <- "daily"
latest_daily$stack[[1]]$platforms <- list("linux/amd64", "linux/arm64")
latest_daily$stack[[2]]$FROM <- "rocker/rstudio:latest-daily"
latest_daily$stack[[3]]$FROM <- "rocker/tidyverse:latest-daily"

Expand Down
6 changes: 5 additions & 1 deletion stacks/core-latest-daily.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@
"/rocker_scripts/install_quarto.sh"
],
"CMD": "[\"/init\"]",
"EXPOSE": 8787
"EXPOSE": 8787,
"platforms": [
"linux/amd64",
"linux/arm64"
]
},
{
"IMAGE": "tidyverse",
Expand Down

0 comments on commit d67d65b

Please sign in to comment.