Skip to content

Commit

Permalink
Stop pushing new images to DockerHub
Browse files Browse the repository at this point in the history
We've transitioned off of DockerHub and only use GitHub Container
Registry.
  • Loading branch information
SeanTAllen committed Dec 3, 2023
1 parent 6e3a6b7 commit 0570692
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 236 deletions.
40 changes: 0 additions & 40 deletions .github/workflows/linux-builder-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ jobs:
runs-on: ubuntu-latest
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
Expand Down Expand Up @@ -46,11 +41,6 @@ jobs:
runs-on: ubuntu-latest
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
Expand Down Expand Up @@ -80,11 +70,6 @@ jobs:
runs-on: ubuntu-latest
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
Expand Down Expand Up @@ -114,11 +99,6 @@ jobs:
runs-on: ubuntu-latest
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
Expand Down Expand Up @@ -148,11 +128,6 @@ jobs:
runs-on: ubuntu-latest
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
Expand Down Expand Up @@ -182,11 +157,6 @@ jobs:
runs-on: ubuntu-latest
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
Expand Down Expand Up @@ -216,11 +186,6 @@ jobs:
runs-on: ubuntu-latest
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
Expand Down Expand Up @@ -250,11 +215,6 @@ jobs:
runs-on: ubuntu-latest
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
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/release-a-library-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ jobs:
runs-on: ubuntu-latest
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
Expand Down
7 changes: 1 addition & 6 deletions actionlint/build-and-push.bash
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,13 @@ set -o errexit
set -o nounset

#
# *** You should already be logged in to DockerHub
# and GitHub Container Registry when you run this ***
# *** You should already be logged in to GitHub Container Registry when you run # this ***
#

NAME="ponylang/shared-docker-ci-actionlint"
TODAY=$(date +%Y%m%d)
DOCKERFILE_DIR="$(dirname "$0")"

# DockerHub
docker build --pull -t "${NAME}:${TODAY}" "${DOCKERFILE_DIR}"
docker push "${NAME}:${TODAY}"

# GitHub Container Registry
NAME="ghcr.io/${NAME}"
docker build --pull -t "${NAME}:${TODAY}" "${DOCKERFILE_DIR}"
Expand Down
23 changes: 2 additions & 21 deletions release-a-library/build-and-push.bash
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,12 @@ set -o errexit
set -o nounset

#
# *** You should already be logged in to DockerHub
# and GitHub Container Registry when you run this ***
# *** You should already be logged in to GitHub Container Registry when you run
# this ***
#

DOCKERFILE_DIR="$(dirname "$0")"

## DockerHub

# built from ponyc release tag
NAME="ponylang/shared-docker-ci-release-a-library"
FROM_TAG=release-alpine
TAG_AS=release
docker build --pull --build-arg FROM_TAG="${FROM_TAG}" \
-t "${NAME}:${TAG_AS}" \
"${DOCKERFILE_DIR}"
docker push "${NAME}:${TAG_AS}"

# built from ponyc latest tag
FROM_TAG=alpine
TAG_AS=latest
docker build --pull --build-arg FROM_TAG="${FROM_TAG}" \
-t "${NAME}:${TAG_AS}" \
"${DOCKERFILE_DIR}"
docker push "${NAME}:${TAG_AS}"

## GitHub Container Registry

# built from ponyc release tag
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,12 @@ set -o errexit
set -o nounset

#
# *** You should already be logged in to DockerHub
# and GitHub Container Registry when you run this ***
# *** You should already be logged in to GitHub Container Registry when you run
# this ***
#

DOCKERFILE_DIR="$(dirname "$0")"

## DockerHub

NAME="ponylang/shared-docker-ci-x86-64-unknown-linux-builder-with-libressl-3.7.2"

# built from x86-64-unknown-linux-builder release tag
FROM_TAG=release
TAG_AS=release
docker build --pull --build-arg FROM_TAG="${FROM_TAG}" \
-t "${NAME}:${TAG_AS}" "${DOCKERFILE_DIR}"
docker push "${NAME}:${TAG_AS}"

# built from x86-64-unknown-linux-builder latest tag
FROM_TAG=latest
TAG_AS=latest
docker build --pull --build-arg FROM_TAG="${FROM_TAG}" \
-t "${NAME}:${TAG_AS}" "${DOCKERFILE_DIR}"
docker push "${NAME}:${TAG_AS}"

## GitHub Container Registry

NAME="ghcr.io/ponylang/shared-docker-ci-x86-64-unknown-linux-builder-with-libressl-3.7.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,12 @@ set -o errexit
set -o nounset

#
# *** You should already be logged in to DockerHub
# and GitHub Container Registry when you run this ***
# *** You should already be logged in to GitHub Container Registry when you run
# this ***
#

DOCKERFILE_DIR="$(dirname "$0")"

## DockerHub

NAME="ponylang/shared-docker-ci-x86-64-unknown-linux-builder-with-libressl-3.7.3"

# built from x86-64-unknown-linux-builder release tag
FROM_TAG=release
TAG_AS=release
docker build --pull --build-arg FROM_TAG="${FROM_TAG}" \
-t "${NAME}:${TAG_AS}" "${DOCKERFILE_DIR}"
docker push "${NAME}:${TAG_AS}"

# built from x86-64-unknown-linux-builder latest tag
FROM_TAG=latest
TAG_AS=latest
docker build --pull --build-arg FROM_TAG="${FROM_TAG}" \
-t "${NAME}:${TAG_AS}" "${DOCKERFILE_DIR}"
docker push "${NAME}:${TAG_AS}"

## GitHub Container Registry

NAME="ghcr.io/ponylang/shared-docker-ci-x86-64-unknown-linux-builder-with-libressl-3.7.3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,12 @@ set -o errexit
set -o nounset

#
# *** You should already be logged in to DockerHub
# and GitHub Container Registry when you run this ***
# *** You should already be logged in to GitHub Container Registry when you run
# this ***
#

DOCKERFILE_DIR="$(dirname "$0")"

## DockerHub

NAME="ponylang/shared-docker-ci-x86-64-unknown-linux-builder-with-openssl_1.1.1t"

# built from x86-64-unknown-linux-builder release tag
FROM_TAG=release
TAG_AS=release
docker build --pull --build-arg FROM_TAG="${FROM_TAG}" \
-t "${NAME}:${TAG_AS}" "${DOCKERFILE_DIR}"
docker push "${NAME}:${TAG_AS}"

# built from x86-64-unknown-linux-builder latest tag
FROM_TAG=latest
TAG_AS=latest
docker build --pull --build-arg FROM_TAG="${FROM_TAG}" \
-t "${NAME}:${TAG_AS}" "${DOCKERFILE_DIR}"
docker push "${NAME}:${TAG_AS}"

## GitHub Container Registry

NAME="ghcr.io/ponylang/shared-docker-ci-x86-64-unknown-linux-builder-with-openssl_1.1.1t"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,12 @@ set -o errexit
set -o nounset

#
# *** You should already be logged in to DockerHub
# and GitHub Container Registry when you run this ***
# *** You should already be logged in to GitHub Container Registry when you run
# this ***
#

DOCKERFILE_DIR="$(dirname "$0")"

## DockerHub

NAME="ponylang/shared-docker-ci-x86-64-unknown-linux-builder-with-openssl_1.1.1w"

# built from x86-64-unknown-linux-builder release tag
FROM_TAG=release
TAG_AS=release
docker build --pull --build-arg FROM_TAG="${FROM_TAG}" \
-t "${NAME}:${TAG_AS}" "${DOCKERFILE_DIR}"
docker push "${NAME}:${TAG_AS}"

# built from x86-64-unknown-linux-builder latest tag
FROM_TAG=latest
TAG_AS=latest
docker build --pull --build-arg FROM_TAG="${FROM_TAG}" \
-t "${NAME}:${TAG_AS}" "${DOCKERFILE_DIR}"
docker push "${NAME}:${TAG_AS}"

## GitHub Container Registry

NAME="ghcr.io/ponylang/shared-docker-ci-x86-64-unknown-linux-builder-with-openssl_1.1.1w"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,12 @@ set -o errexit
set -o nounset

#
# *** You should already be logged in to DockerHub
# and GitHub Container Registry when you run this ***
# *** You should already be logged in to GitHub Container Registry when you run
# this ***
#

DOCKERFILE_DIR="$(dirname "$0")"

## DockerHub

NAME="ponylang/shared-docker-ci-x86-64-unknown-linux-builder-with-openssl_3.1.0"

# built from x86-64-unknown-linux-builder release tag
FROM_TAG=release
TAG_AS=release
docker build --pull --build-arg FROM_TAG="${FROM_TAG}" \
-t "${NAME}:${TAG_AS}" "${DOCKERFILE_DIR}"
docker push "${NAME}:${TAG_AS}"

# built from x86-64-unknown-linux-builder latest tag
FROM_TAG=latest
TAG_AS=latest
docker build --pull --build-arg FROM_TAG="${FROM_TAG}" \
-t "${NAME}:${TAG_AS}" "${DOCKERFILE_DIR}"
docker push "${NAME}:${TAG_AS}"

## GitHub Container Registry

NAME="ghcr.io/ponylang/shared-docker-ci-x86-64-unknown-linux-builder-with-openssl_3.1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,11 @@ set -o errexit
set -o nounset

#
# *** You should already be logged in to DockerHub
# and GitHub Container Registry when you run this ***
# *** You should already be logged in to GitHub Container Registry when you run
# this ***
#

DOCKERFILE_DIR="$(dirname "$0")"

## DockerHub

NAME="ponylang/shared-docker-ci-x86-64-unknown-linux-builder-with-openssl_3.1.3"

# built from x86-64-unknown-linux-builder release tag
FROM_TAG=release
TAG_AS=release
docker build --pull --build-arg FROM_TAG="${FROM_TAG}" \
-t "${NAME}:${TAG_AS}" "${DOCKERFILE_DIR}"
docker push "${NAME}:${TAG_AS}"

# built from x86-64-unknown-linux-builder latest tag
FROM_TAG=latest
TAG_AS=latest
docker build --pull --build-arg FROM_TAG="${FROM_TAG}" \
-t "${NAME}:${TAG_AS}" "${DOCKERFILE_DIR}"
docker push "${NAME}:${TAG_AS}"

## GitHub Container Registry

NAME="ghcr.io/ponylang/shared-docker-ci-x86-64-unknown-linux-builder-with-openssl_3.1.3"
Expand Down
24 changes: 2 additions & 22 deletions x86-64-unknown-linux-builder-with-pcre/build-and-push.bash
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,12 @@ set -o errexit
set -o nounset

#
# *** You should already be logged in to DockerHub
# and GitHub Container Registry when you run this ***
# *** You should already be logged in to GitHub Container Registry when you run
# this ***
#

DOCKERFILE_DIR="$(dirname "$0")"

## DockerHub

NAME="ponylang/shared-docker-ci-x86-64-unknown-linux-builder-with-pcre"

# built from x86-64-unknown-linux-builder release tag
FROM_TAG=release
TAG_AS=release
docker build --pull --build-arg FROM_TAG="${FROM_TAG}" \
-t "${NAME}:${TAG_AS}" \
"${DOCKERFILE_DIR}"
docker push "${NAME}:${TAG_AS}"

# built from x86-64-unknown-linux-builder latest tag
FROM_TAG=latest
TAG_AS=latest
docker build --pull --build-arg FROM_TAG="${FROM_TAG}" \
-t "${NAME}:${TAG_AS}" \
"${DOCKERFILE_DIR}"
docker push "${NAME}:${TAG_AS}"

## GitHub Container Registry

NAME="ghcr.io/ponylang/shared-docker-ci-x86-64-unknown-linux-builder-with-pcre"
Expand Down
Loading

0 comments on commit 0570692

Please sign in to comment.