From 7f6cdcc040fdf9c840125ef7e814abe0d2c120d4 Mon Sep 17 00:00:00 2001 From: "Sean T. Allen" Date: Sun, 3 Dec 2023 22:48:08 +0000 Subject: [PATCH] Stop pushing new images to DockerHub We've transitioned to GitHub Container Registry. --- .github/workflows/release.yml | 5 ----- Makefile | 4 ---- 2 files changed, 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1e81816..5a190e7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,11 +32,6 @@ jobs: - pre-artefact-creation steps: - uses: actions/checkout@v3 - - name: Login to DockerHub - run: docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD" - env: - DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} - DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} - name: Login to GitHub Container Registry # v2.2.0 uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc diff --git a/Makefile b/Makefile index 2596932..1816bfc 100644 --- a/Makefile +++ b/Makefile @@ -11,15 +11,11 @@ PYTHON_COMMANDS := $(shell find scripts/) all: build build: action.yml Dockerfile entrypoint scripts/* - docker build --pull -t "${IMAGE}:${IMAGE_TAG}" . - docker build --pull -t "${IMAGE}:latest" . docker build --pull -t "ghcr.io/${IMAGE}:${IMAGE_TAG}" . docker build --pull -t "ghcr.io/${IMAGE}:latest" . touch $@ push: build - docker push "${IMAGE}:${IMAGE_TAG}" - docker push "${IMAGE}:latest" docker push "ghcr.io/${IMAGE}:${IMAGE_TAG}" docker push "ghcr.io/${IMAGE}:latest"