Skip to content

Commit

Permalink
Move all images to images dir (#1972)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathbunnyru authored Aug 19, 2023
1 parent feb8872 commit a5b40a6
Show file tree
Hide file tree
Showing 46 changed files with 7 additions and 36 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-build-test-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
shell: bash

- 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:
DOCKER_BUILDKIT: 1
# Full logs for CI build
Expand Down
24 changes: 2 additions & 22 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,7 @@ on:
- ".github/actions/download-manifests/action.yml"
- ".github/actions/load-image/action.yml"

- "all-spark-notebook/**"
- "base-notebook/**"
- "datascience-notebook/**"
- "docker-stacks-foundation/**"
- "julia-notebook/**"
- "minimal-notebook/**"
- "pyspark-notebook/**"
- "r-notebook/**"
- "scipy-notebook/**"
- "tensorflow-notebook/**"

- "images/**"
- "tagging/**"
- "tests/**"
- "requirements-dev.txt"
Expand All @@ -48,17 +38,7 @@ on:
- ".github/actions/download-manifests/action.yml"
- ".github/actions/load-image/action.yml"

- "all-spark-notebook/**"
- "base-notebook/**"
- "datascience-notebook/**"
- "docker-stacks-foundation/**"
- "julia-notebook/**"
- "minimal-notebook/**"
- "pyspark-notebook/**"
- "r-notebook/**"
- "scipy-notebook/**"
- "tensorflow-notebook/**"

- "images/**"
- "tagging/**"
- "tests/**"
- "requirements-dev.txt"
Expand Down
13 changes: 2 additions & 11 deletions .github/workflows/hub-overview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,7 @@ on:
paths:
- ".github/workflows/hub-overview.yml"

- "all-spark-notebook/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"
- "images/*/README.md"

jobs:
update-dockerhub-overview:
Expand All @@ -40,7 +31,7 @@ jobs:
destination_container_repo: ${{ env.OWNER }}/${{ matrix.image }}
provider: dockerhub
short_description: ${{ matrix.description }}
readme_file: ${{ matrix.image }}/README.md
readme_file: images/${{ matrix.image }}/README.md

strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ help:

build/%: DOCKER_BUILD_ARGS?=
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: "
@docker images "$(OWNER)/$(notdir $@):latest" --format "{{.Size}}"
build-all: $(foreach I, $(ALL_IMAGES), build/$(I)) ## build all stacks
Expand Down
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.
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.
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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tagging/write_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def write_build_history_line(
links_column = MARKDOWN_LINE_BREAK.join(
[
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})",
]
)
Expand Down

0 comments on commit a5b40a6

Please sign in to comment.