Skip to content

Commit

Permalink
Update tags and from fields (#91)
Browse files Browse the repository at this point in the history
* Add latest tag to minimal Dockerfile and workflow



---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Robinlovelace/docker?shareId=XXXX-XXXX-XXXX-XXXX).

* Update tags and FROM fields in workflow files and Dockerfiles



---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Robinlovelace/docker?shareId=XXXX-XXXX-XXXX-XXXX).

* Update Dockerfile
  • Loading branch information
Robinlovelace authored Oct 7, 2024
1 parent 4ea3ed8 commit fd6f487
Show file tree
Hide file tree
Showing 22 changed files with 58 additions and 62 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/binder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
ghcr.io/geocompx/binder
# generate Docker tags based on the following events/attributes
tags: |
type=raw,value=binder
type=sha,prefix=binder_
type=schedule,pattern={{date 'YYYY-MM-DD'}},prefix=binder_
type=sha,
type=raw,pattern={{date 'YYYY-MM-DD'}},prefix=date_
type=raw,value=latest
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/buildbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
ghcr.io/geocompx/buildbook
# generate Docker tags based on the following events/attributes
tags: |
type=raw,value=buildbook
type=sha,prefix=buildbook_
type=schedule,pattern={{date 'YYYY-MM-DD'}},prefix=buildbook_
type=sha,
type=raw,pattern={{date 'YYYY-MM-DD'}},prefix=date_
type=raw,value=latest
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/geocompy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
ghcr.io/geocompx/geocompy
# generate Docker tags based on the following events/attributes
tags: |
type=raw,value=geocompy
type=sha,prefix=geocompy_
type=schedule,pattern={{date 'YYYY-MM-DD'}},prefix=geocompy_
type=sha,
type=raw,pattern={{date 'YYYY-MM-DD'}},prefix=date_
type=raw,value=latest
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
ghcr.io/geocompx/latest
# generate Docker tags based on the following events/attributes
tags: |
type=sha,
type=raw,pattern={{date 'YYYY-MM-DD'}},prefix=date_
type=raw,value=latest
type=sha,prefix=latest_
type=schedule,pattern={{date 'YYYY-MM-DD'}},prefix=latest_
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/mamba-py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
ghcr.io/geocompx/mamba-py
# generate Docker tags based on the following events/attributes
tags: |
type=raw,value=mamba-py
type=sha,prefix=mamba_
type=schedule,pattern={{date 'YYYY-MM-DD'}},prefix=mamba_
type=sha,
type=raw,pattern={{date 'YYYY-MM-DD'}},prefix=date_
type=raw,value=latest
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/mamba-pyr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
ghcr.io/geocompx/mamba-pyr
# generate Docker tags based on the following events/attributes
tags: |
type=raw,value=mamba-pyr
type=sha,prefix=mamba_
type=schedule,pattern={{date 'YYYY-MM-DD'}},prefix=mamba_
type=sha,
type=raw,pattern={{date 'YYYY-MM-DD'}},prefix=date_
type=raw,value=latest
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/minimal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
ghcr.io/geocompx/minimal
# generate Docker tags based on the following events/attributes
tags: |
type=sha
type=schedule,pattern={{date 'YYYY-MM-DD'}}
type=sha,
type=raw,pattern={{date 'YYYY-MM-DD'}},prefix=date_
type=raw,value=latest
-
name: Set up QEMU
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/osgeo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
ghcr.io/geocompx/osgeo
# generate Docker tags based on the following events/attributes
tags: |
type=raw,value=osgeo
type=sha,prefix=osgeo_
type=schedule,pattern={{date 'YYYY-MM-DD'}},prefix=osgeo_
type=sha,
type=raw,pattern={{date 'YYYY-MM-DD'}},prefix=date_
type=raw,value=latest
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/pixi-py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
ghcr.io/geocompx/pixi-py
# generate Docker tags based on the following events/attributes
tags: |
type=raw,value=pixi-py
type=sha,prefix=pixi-py_
type=schedule,pattern={{date 'YYYY-MM-DD'}},prefix=pixi-py_
type=sha,
type=raw,pattern={{date 'YYYY-MM-DD'}},prefix=date_
type=raw,value=latest
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down Expand Up @@ -58,7 +58,3 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}




6 changes: 3 additions & 3 deletions .github/workflows/pixi-r.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
ghcr.io/geocompx/pixi-r
# generate Docker tags based on the following events/attributes
tags: |
type=raw,value=pixi-r
type=sha,prefix=pixi-r_
type=schedule,pattern={{date 'YYYY-MM-DD'}},prefix=pixi-r_
type=sha,
type=raw,pattern={{date 'YYYY-MM-DD'}},prefix=date_
type=raw,value=latest
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pixi-rpy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
ghcr.io/geocompx/pixi-rpy
# generate Docker tags based on the following events/attributes
tags: |
type=raw,value=pixi-rpy
type=sha,prefix=pixi-rpy_
type=schedule,pattern={{date 'YYYY-MM-DD'}},prefix=pixi-rpy_
type=sha,
type=raw,pattern={{date 'YYYY-MM-DD'}},prefix=date_
type=raw,value=latest
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
ghcr.io/geocompx/python
# generate Docker tags based on the following events/attributes
tags: |
type=raw,value=python
type=sha,prefix=python_
type=schedule,pattern={{date 'YYYY-MM-DD'}},prefix=python_
type=sha,
type=raw,pattern={{date 'YYYY-MM-DD'}},prefix=date_
type=raw,value=latest
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/qgis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
ghcr.io/geocompx/qgis
# generate Docker tags based on the following events/attributes
tags: |
type=raw,value=qgis
type=sha,prefix=qgis_
type=schedule,pattern={{date 'YYYY-MM-DD'}},prefix=qgis_
type=sha,
type=raw,pattern={{date 'YYYY-MM-DD'}},prefix=date_
type=raw,value=latest
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
ghcr.io/geocompx/quarto
# generate Docker tags based on the following events/attributes
tags: |
type=raw,value=quarto
type=sha,prefix=quarto_
type=schedule,pattern={{date 'YYYY-MM-DD'}},prefix=quarto_
type=sha,
type=raw,pattern={{date 'YYYY-MM-DD'}},prefix=date_
type=raw,value=latest
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/rocker-rpy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
ghcr.io/geocompx/rocker-rpy
# generate Docker tags based on the following events/attributes
tags: |
type=raw,value=rocker-rpy
type=sha,prefix=rocker-rpy_
type=schedule,pattern={{date 'YYYY-MM-DD'}},prefix=rocker-rpy_
type=sha,
type=raw,pattern={{date 'YYYY-MM-DD'}},prefix=date_
type=raw,value=latest
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/rocker-rpyjl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
ghcr.io/geocompx/rocker-rpyjl
# generate Docker tags based on the following events/attributes
tags: |
type=raw,value=rocker-rpyjl
type=sha,prefix=rocker-rpyjl_
type=schedule,pattern={{date 'YYYY-MM-DD'}},prefix=rocker-rpyjl_
type=sha,
type=raw,pattern={{date 'YYYY-MM-DD'}},prefix=date_
type=raw,value=latest
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ jobs:
ghcr.io/geocompx/rust
# generate Docker tags based on the following events/attributes
tags: |
type=raw,value=rust
type=sha,prefix=rust_
type=schedule,pattern={{date 'YYYY-MM-DD'}},prefix=rust_
type=sha,
type=raw,pattern={{date 'YYYY-MM-DD'}},prefix=date_
type=raw,value=latest
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/suggests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ jobs:
ghcr.io/geocompx/suggests
# generate Docker tags based on the following events/attributes
tags: |
type=raw,value=suggests
type=sha,prefix=suggests_
type=schedule,pattern={{date 'YYYY-MM-DD'}},prefix=suggests_
type=sha,
type=raw,pattern={{date 'YYYY-MM-DD'}},prefix=date_
type=raw,value=latest
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/unzipped.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
ghcr.io/geocompx/unzipped
# generate Docker tags based on the following events/attributes
tags: |
type=raw,value=unzipped
type=sha,prefix=unzipped_
type=schedule,pattern={{date 'YYYY-MM-DD'}},prefix=unzipped_
type=sha,
type=raw,pattern={{date 'YYYY-MM-DD'}},prefix=date_
type=raw,value=latest
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM geocompr/geocompr:minimal
FROM ghcr.io/geocompx/minimal
RUN su rstudio && \
cd /home/rstudio && \
wget https://github.com/geocompx/geocompr/archive/main.zip && \
Expand Down
2 changes: 1 addition & 1 deletion buildbook/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/geocompx/docker:suggests
FROM ghcr.io/geocompx/suggests
RUN su rstudio && \
cd /home/rstudio && \
wget https://github.com/geocompx/geocompr/archive/main.zip && \
Expand Down
2 changes: 1 addition & 1 deletion suggests/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/geocompx/docker:minimal
FROM ghcr.io/geocompx/minimal
# RUN --mount=type=secret,id=GITHUB_PAT \
# echo "GITHUB_PAT=$(cat /run/secrets/GITHUB_PAT)" > ~/.Renviron
# RUN R -e "remotes::install_github('geocompr/geocompkg', upgrade = TRUE, dependencies = TRUE, force = TRUE)"
Expand Down

0 comments on commit fd6f487

Please sign in to comment.