Move all images to images dir (#1972)

This commit is contained in:
Ayaz Salikhov
2023-08-19 17:25:20 +02:00
committed by GitHub
parent feb88727d1
commit a5b40a6f11
46 changed files with 7 additions and 36 deletions

View File

@@ -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

View File

@@ -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"

View File

@@ -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:

View File

@@ -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

View File

@@ -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})",
] ]
) )