Skip to content

Commit a5b40a6

Browse files
authored
Move all images to images dir (#1972)
1 parent feb8872 commit a5b40a6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+7
-36
lines changed

.github/workflows/docker-build-test-upload.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
shell: bash
6161

6262
- name: Build image 🛠
63-
run: docker build --rm --force-rm --tag ${{ env.OWNER }}/${{ inputs.image }} ${{ inputs.image }}/
63+
run: docker build --rm --force-rm --tag ${{ env.OWNER }}/${{ inputs.image }} images/${{ inputs.image }}/
6464
env:
6565
DOCKER_BUILDKIT: 1
6666
# Full logs for CI build

.github/workflows/docker.yml

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,7 @@ on:
2020
- ".github/actions/download-manifests/action.yml"
2121
- ".github/actions/load-image/action.yml"
2222

23-
- "all-spark-notebook/**"
24-
- "base-notebook/**"
25-
- "datascience-notebook/**"
26-
- "docker-stacks-foundation/**"
27-
- "julia-notebook/**"
28-
- "minimal-notebook/**"
29-
- "pyspark-notebook/**"
30-
- "r-notebook/**"
31-
- "scipy-notebook/**"
32-
- "tensorflow-notebook/**"
33-
23+
- "images/**"
3424
- "tagging/**"
3525
- "tests/**"
3626
- "requirements-dev.txt"
@@ -48,17 +38,7 @@ on:
4838
- ".github/actions/download-manifests/action.yml"
4939
- ".github/actions/load-image/action.yml"
5040

51-
- "all-spark-notebook/**"
52-
- "base-notebook/**"
53-
- "datascience-notebook/**"
54-
- "docker-stacks-foundation/**"
55-
- "julia-notebook/**"
56-
- "minimal-notebook/**"
57-
- "pyspark-notebook/**"
58-
- "r-notebook/**"
59-
- "scipy-notebook/**"
60-
- "tensorflow-notebook/**"
61-
41+
- "images/**"
6242
- "tagging/**"
6343
- "tests/**"
6444
- "requirements-dev.txt"

.github/workflows/hub-overview.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,7 @@ on:
1010
paths:
1111
- ".github/workflows/hub-overview.yml"
1212

13-
- "all-spark-notebook/README.md"
14-
- "base-notebook/README.md"
15-
- "datascience-notebook/README.md"
16-
- "docker-stacks-foundation/README.md"
17-
- "julia-notebook/README.md"
18-
- "minimal-notebook/README.md"
19-
- "pyspark-notebook/README.md"
20-
- "r-notebook/README.md"
21-
- "scipy-notebook/README.md"
22-
- "tensorflow-notebook/README.md"
13+
- "images/*/README.md"
2314

2415
jobs:
2516
update-dockerhub-overview:
@@ -40,7 +31,7 @@ jobs:
4031
destination_container_repo: ${{ env.OWNER }}/${{ matrix.image }}
4132
provider: dockerhub
4233
short_description: ${{ matrix.description }}
43-
readme_file: ${{ matrix.image }}/README.md
34+
readme_file: images/${{ matrix.image }}/README.md
4435

4536
strategy:
4637
matrix:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ help:
3737

3838
build/%: DOCKER_BUILD_ARGS?=
3939
build/%: ## build the latest image for a stack using the system's architecture
40-
docker build $(DOCKER_BUILD_ARGS) --rm --force-rm --tag "$(OWNER)/$(notdir $@):latest" "./$(notdir $@)" --build-arg OWNER="$(OWNER)"
40+
docker build $(DOCKER_BUILD_ARGS) --rm --force-rm --tag "$(OWNER)/$(notdir $@):latest" "./images/$(notdir $@)" --build-arg OWNER="$(OWNER)"
4141
@echo -n "Built image size: "
4242
@docker images "$(OWNER)/$(notdir $@):latest" --format "{{.Size}}"
4343
build-all: $(foreach I, $(ALL_IMAGES), build/$(I)) ## build all stacks
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

tagging/write_manifest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def write_build_history_line(
3838
links_column = MARKDOWN_LINE_BREAK.join(
3939
[
4040
f"[Git diff](https://github.com/jupyter/docker-stacks/commit/{commit_hash})",
41-
f"[Dockerfile](https://github.com/jupyter/docker-stacks/blob/{commit_hash}/{short_image_name}/Dockerfile)",
41+
f"[Dockerfile](https://github.com/jupyter/docker-stacks/blob/{commit_hash}/images/{short_image_name}/Dockerfile)",
4242
f"[Build manifest](./{filename})",
4343
]
4444
)

0 commit comments

Comments
 (0)