mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-16 22:42:57 +00:00
Move all images to images dir (#1972)
This commit is contained in:
@@ -60,7 +60,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Build image 🛠
|
- name: Build image 🛠
|
||||||
run: docker build --rm --force-rm --tag ${{ env.OWNER }}/${{ inputs.image }} ${{ inputs.image }}/
|
run: docker build --rm --force-rm --tag ${{ env.OWNER }}/${{ inputs.image }} images/${{ inputs.image }}/
|
||||||
env:
|
env:
|
||||||
DOCKER_BUILDKIT: 1
|
DOCKER_BUILDKIT: 1
|
||||||
# Full logs for CI build
|
# Full logs for CI build
|
||||||
|
24
.github/workflows/docker.yml
vendored
24
.github/workflows/docker.yml
vendored
@@ -20,17 +20,7 @@ on:
|
|||||||
- ".github/actions/download-manifests/action.yml"
|
- ".github/actions/download-manifests/action.yml"
|
||||||
- ".github/actions/load-image/action.yml"
|
- ".github/actions/load-image/action.yml"
|
||||||
|
|
||||||
- "all-spark-notebook/**"
|
- "images/**"
|
||||||
- "base-notebook/**"
|
|
||||||
- "datascience-notebook/**"
|
|
||||||
- "docker-stacks-foundation/**"
|
|
||||||
- "julia-notebook/**"
|
|
||||||
- "minimal-notebook/**"
|
|
||||||
- "pyspark-notebook/**"
|
|
||||||
- "r-notebook/**"
|
|
||||||
- "scipy-notebook/**"
|
|
||||||
- "tensorflow-notebook/**"
|
|
||||||
|
|
||||||
- "tagging/**"
|
- "tagging/**"
|
||||||
- "tests/**"
|
- "tests/**"
|
||||||
- "requirements-dev.txt"
|
- "requirements-dev.txt"
|
||||||
@@ -48,17 +38,7 @@ on:
|
|||||||
- ".github/actions/download-manifests/action.yml"
|
- ".github/actions/download-manifests/action.yml"
|
||||||
- ".github/actions/load-image/action.yml"
|
- ".github/actions/load-image/action.yml"
|
||||||
|
|
||||||
- "all-spark-notebook/**"
|
- "images/**"
|
||||||
- "base-notebook/**"
|
|
||||||
- "datascience-notebook/**"
|
|
||||||
- "docker-stacks-foundation/**"
|
|
||||||
- "julia-notebook/**"
|
|
||||||
- "minimal-notebook/**"
|
|
||||||
- "pyspark-notebook/**"
|
|
||||||
- "r-notebook/**"
|
|
||||||
- "scipy-notebook/**"
|
|
||||||
- "tensorflow-notebook/**"
|
|
||||||
|
|
||||||
- "tagging/**"
|
- "tagging/**"
|
||||||
- "tests/**"
|
- "tests/**"
|
||||||
- "requirements-dev.txt"
|
- "requirements-dev.txt"
|
||||||
|
13
.github/workflows/hub-overview.yml
vendored
13
.github/workflows/hub-overview.yml
vendored
@@ -10,16 +10,7 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- ".github/workflows/hub-overview.yml"
|
- ".github/workflows/hub-overview.yml"
|
||||||
|
|
||||||
- "all-spark-notebook/README.md"
|
- "images/*/README.md"
|
||||||
- "base-notebook/README.md"
|
|
||||||
- "datascience-notebook/README.md"
|
|
||||||
- "docker-stacks-foundation/README.md"
|
|
||||||
- "julia-notebook/README.md"
|
|
||||||
- "minimal-notebook/README.md"
|
|
||||||
- "pyspark-notebook/README.md"
|
|
||||||
- "r-notebook/README.md"
|
|
||||||
- "scipy-notebook/README.md"
|
|
||||||
- "tensorflow-notebook/README.md"
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
update-dockerhub-overview:
|
update-dockerhub-overview:
|
||||||
@@ -40,7 +31,7 @@ jobs:
|
|||||||
destination_container_repo: ${{ env.OWNER }}/${{ matrix.image }}
|
destination_container_repo: ${{ env.OWNER }}/${{ matrix.image }}
|
||||||
provider: dockerhub
|
provider: dockerhub
|
||||||
short_description: ${{ matrix.description }}
|
short_description: ${{ matrix.description }}
|
||||||
readme_file: ${{ matrix.image }}/README.md
|
readme_file: images/${{ matrix.image }}/README.md
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
2
Makefile
2
Makefile
@@ -37,7 +37,7 @@ help:
|
|||||||
|
|
||||||
build/%: DOCKER_BUILD_ARGS?=
|
build/%: DOCKER_BUILD_ARGS?=
|
||||||
build/%: ## build the latest image for a stack using the system's architecture
|
build/%: ## build the latest image for a stack using the system's architecture
|
||||||
docker build $(DOCKER_BUILD_ARGS) --rm --force-rm --tag "$(OWNER)/$(notdir $@):latest" "./$(notdir $@)" --build-arg OWNER="$(OWNER)"
|
docker build $(DOCKER_BUILD_ARGS) --rm --force-rm --tag "$(OWNER)/$(notdir $@):latest" "./images/$(notdir $@)" --build-arg OWNER="$(OWNER)"
|
||||||
@echo -n "Built image size: "
|
@echo -n "Built image size: "
|
||||||
@docker images "$(OWNER)/$(notdir $@):latest" --format "{{.Size}}"
|
@docker images "$(OWNER)/$(notdir $@):latest" --format "{{.Size}}"
|
||||||
build-all: $(foreach I, $(ALL_IMAGES), build/$(I)) ## build all stacks
|
build-all: $(foreach I, $(ALL_IMAGES), build/$(I)) ## build all stacks
|
||||||
|
@@ -38,7 +38,7 @@ def write_build_history_line(
|
|||||||
links_column = MARKDOWN_LINE_BREAK.join(
|
links_column = MARKDOWN_LINE_BREAK.join(
|
||||||
[
|
[
|
||||||
f"[Git diff](https://github.com/jupyter/docker-stacks/commit/{commit_hash})",
|
f"[Git diff](https://github.com/jupyter/docker-stacks/commit/{commit_hash})",
|
||||||
f"[Dockerfile](https://github.com/jupyter/docker-stacks/blob/{commit_hash}/{short_image_name}/Dockerfile)",
|
f"[Dockerfile](https://github.com/jupyter/docker-stacks/blob/{commit_hash}/images/{short_image_name}/Dockerfile)",
|
||||||
f"[Build manifest](./{filename})",
|
f"[Build manifest](./{filename})",
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user