From bfecbb5d988b02a9194be9a7ac8f97be1abfe027 Mon Sep 17 00:00:00 2001 From: Joseph Hale Date: Mon, 27 Jun 2022 09:14:35 -0700 Subject: [PATCH] Update DockerHub Repo name I'm renaming my accounts to `thehale`. This commit points this repo to the new DockerHub location. --- .github/workflows/docker-image.yml | 4 ++-- Makefile | 8 ++++---- README.md | 10 +++++----- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 7e12dc0..31fe0ef 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -22,7 +22,7 @@ jobs: - name: Login to DockerHub run: echo -n $DOCKER_ACCESS_TOKEN | docker login $DOCKER_REGISTRY -u $DOCKER_USERNAME --password-stdin - name: Push Image to DockerHub - run: docker push jhale1805/python-poetry:latest + run: docker push thehale/python-poetry:latest build-versions: @@ -44,4 +44,4 @@ jobs: - name: Login to DockerHub run: echo -n $DOCKER_ACCESS_TOKEN | docker login $DOCKER_REGISTRY -u $DOCKER_USERNAME --password-stdin - name: Push Image to DockerHub - run: docker push jhale1805/python-poetry:${{ matrix.poetry_version }}-py${{ matrix.python_image_tag }} + run: docker push thehale/python-poetry:${{ matrix.poetry_version }}-py${{ matrix.python_image_tag }} diff --git a/Makefile b/Makefile index e3356e4..2abe0d5 100644 --- a/Makefile +++ b/Makefile @@ -5,16 +5,16 @@ build: docker build \ - --tag jhale1805/python-poetry:latest \ + --tag thehale/python-poetry:latest \ --build-arg BUILDKIT_INLINE_CACHE=1 \ - --cache-from jhale1805/python-poetry:latest \ + --cache-from thehale/python-poetry:latest \ . build-version: docker build \ - --tag jhale1805/python-poetry:$(POETRY_VERSION)-py$(PYTHON_IMAGE_TAG) \ + --tag thehale/python-poetry:$(POETRY_VERSION)-py$(PYTHON_IMAGE_TAG) \ --build-arg POETRY_VERSION=$(POETRY_VERSION) \ --build-arg PYTHON_IMAGE_TAG=$(PYTHON_IMAGE_TAG) \ --build-arg BUILDKIT_INLINE_CACHE=1 \ - --cache-from jhale1805/python-poetry:$(POETRY_VERSION)-py$(PYTHON_IMAGE_TAG) \ + --cache-from thehale/python-poetry:$(POETRY_VERSION)-py$(PYTHON_IMAGE_TAG) \ . diff --git a/README.md b/README.md index f2f5c5b..84a45b5 100644 --- a/README.md +++ b/README.md @@ -16,26 +16,26 @@ Python Poetry. Hopefully you find it useful anyway!* Most of the time, you will be using these images as a base image for your own Dockerfiles (e.g. devcontainers, building Python applications, etc.) ```Dockerfile -FROM jhale1805/python-poetry +FROM thehale/python-poetry # Your build steps here. ``` However, you can also download and run the latest `python-poetry` Docker image by pulling it from DockerHub. ``` -docker pull jhale1805/python-poetry -docker run --rm jhale1805/python-poetry poetry --version +docker pull thehale/python-poetry +docker run --rm thehale/python-poetry poetry --version ``` There are tagged images for all the latest stable versions of `python-poetry` for all versions of Python that Poetry supports (>3.7). You can see the [full -tag list on DockerHub](https://hub.docker.com/r/jhale1805/python-poetry/tags). +tag list on DockerHub](https://hub.docker.com/r/thehale/python-poetry/tags). ## Build Your Own Image This repo automatically builds images for the latest stable versions of `python-poetry` for all supported versions of Python (>3.7). - You can see the full build matrix in - [.github/workflows/docker-image.yml](.github/workflows/docker-image.yml) + [.github/workflows/docker-image.yml](https://github.com/thehale/docker-python-poetry/blob/master/.github/workflows/docker-image.yml) However, if you need a combination that isn't automatically built, you can easily create your own by modifying the command below to contain your preferred