Skip to content

Commit

Permalink
Move private CI images from DockerHub to GitHub Container Registry (p…
Browse files Browse the repository at this point in the history
…onylang#4425)

Old images will remain at DockerHub, all new ones, starting with the ones
I generated for this commit will be on GitHub Container Registry.
  • Loading branch information
SeanTAllen authored Aug 31, 2023
1 parent d48dc40 commit e8601d6
Show file tree
Hide file tree
Showing 21 changed files with 51 additions and 144 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion .ci-dockerfiles/cross-aarch64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu20.04-builder:20230807
FROM ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu20.04-builder:20230830

ARG CROSS_TRIPLE=aarch64-unknown-linux-gnu
ARG CROSS_CC=aarch64-linux-gnu-gcc
Expand Down
4 changes: 2 additions & 2 deletions .ci-dockerfiles/cross-aarch64/build-and-push.bash
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ set -o errexit
set -o nounset

#
# *** You should already be logged in to DockerHub when you run this ***
# *** You should already be logged in to GHCR when you run this ***
#

NAME="ponylang/ponyc-ci-cross-aarch64"
NAME="ghcr.io/ponylang/ponyc-ci-cross-aarch64"
TODAY=$(date +%Y%m%d)
DOCKERFILE_DIR="$(dirname "$0")"

Expand Down
2 changes: 1 addition & 1 deletion .ci-dockerfiles/cross-arm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu20.04-builder:20230807
FROM ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu20.04-builder:20230830

ARG CROSS_TRIPLE=arm-unknown-linux-gnueabi
ARG CROSS_CC=arm-linux-gnueabi-gcc
Expand Down
4 changes: 2 additions & 2 deletions .ci-dockerfiles/cross-arm/build-and-push.bash
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ set -o errexit
set -o nounset

#
# *** You should already be logged in to DockerHub when you run this ***
# *** You should already be logged in to GHCR when you run this ***
#

NAME="ponylang/ponyc-ci-cross-arm"
NAME="ghcr.io/ponylang/ponyc-ci-cross-arm"
TODAY=$(date +%Y%m%d)
DOCKERFILE_DIR="$(dirname "$0")"

Expand Down
2 changes: 1 addition & 1 deletion .ci-dockerfiles/cross-armhf/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu20.04-builder:20230807
FROM ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu20.04-builder:20230830

ARG CROSS_TRIPLE=arm-unknown-linux-gnueabihf
ARG CROSS_CC=arm-linux-gnueabihf-gcc
Expand Down
4 changes: 2 additions & 2 deletions .ci-dockerfiles/cross-armhf/build-and-push.bash
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ set -o errexit
set -o nounset

#
# *** You should already be logged in to DockerHub when you run this ***
# *** You should already be logged in to GHCR when you run this ***
#

NAME="ponylang/ponyc-ci-cross-armhf"
NAME="ghcr.io/ponylang/ponyc-ci-cross-armhf"
TODAY=$(date +%Y%m%d)
DOCKERFILE_DIR="$(dirname "$0")"

Expand Down
2 changes: 1 addition & 1 deletion .ci-dockerfiles/cross-riscv64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu20.04-builder:20230807
FROM ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu20.04-builder:20230830

USER root

Expand Down
4 changes: 2 additions & 2 deletions .ci-dockerfiles/cross-riscv64/build-and-push.bash
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ set -o errexit
set -o nounset

#
# *** You should already be logged in to DockerHub when you run this ***
# *** You should already be logged in to GHCR when you run this ***
#

NAME="ponylang/ponyc-ci-cross-riscv64"
NAME="ghcr.io/ponylang/ponyc-ci-cross-riscv64"
TODAY=$(date +%Y%m%d)
DOCKERFILE_DIR="$(dirname "$0")"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM alpine:3.18


RUN apk update \
&& apk upgrade \
&& apk add --update --no-cache \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ set -o errexit
set -o nounset

#
# *** You should already be logged in to DockerHub when you run this ***
# *** You should already be logged in to GHCR when you run this ***
#

TODAY=$(date +%Y%m%d)
DOCKERFILE_DIR="$(dirname "$0")"

docker build --pull -t "ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:${TODAY}" \
docker build --pull -t "ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:${TODAY}" \
"${DOCKERFILE_DIR}"
docker push "ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:${TODAY}"
docker push "ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:${TODAY}"
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ set -o errexit
set -o nounset

#
# *** You should already be logged in to DockerHub when you run this ***
# *** You should already be logged in to GHCR when you run this ***
#

NAME="ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu20.04-builder"
NAME="ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu20.04-builder"
TODAY=$(date +%Y%m%d)
DOCKERFILE_DIR="$(dirname "$0")"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ set -o errexit
set -o nounset

#
# *** You should already be logged in to DockerHub when you run this ***
# *** You should already be logged in to GHCR when you run this ***
#

NAME="ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu22.04-builder"
NAME="ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu22.04-builder"
TODAY=$(date +%Y%m%d)
DOCKERFILE_DIR="$(dirname "$0")"

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/nightlies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
fail-fast: false
matrix:
include:
- image: ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu22.04-builder:20230806
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu22.04-builder:20230830
name: x86-64-unknown-linux-ubuntu22.04
triple-os: linux-ubuntu22.04
triple-vendor: unknown
- image: ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu20.04-builder:20230807
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu20.04-builder:20230830
name: x86-64-unknown-linux-ubuntu20.04
triple-os: linux-ubuntu20.04
triple-vendor: unknown
- image: ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20230822
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20230830
name: x86-64-unknown-linux-musl
triple-os: linux-musl
triple-vendor: unknown
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ jobs:
fail-fast: false
matrix:
include:
- image: ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu22.04-builder:20230806
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu22.04-builder:20230830
name: x86-64 Linux glibc
debugger: lldb
- image: ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20230822
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20230830
name: x86-64 Linux musl
debugger: gdb

Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:
fail-fast: false
matrix:
include:
- image: ponylang/ponyc-ci-cross-riscv64:20230808
- image: ghcr.io/ponylang/ponyc-ci-cross-riscv64:20230830
name: riscv64 Linux glibc

name: ${{ matrix.name }}
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
fail-fast: false
matrix:
include:
- image: ponylang/ponyc-ci-cross-arm:20230809
- image: ghcr.io/ponylang/ponyc-ci-cross-arm:20230830
name: arm Linux glibc

name: ${{ matrix.name }}
Expand Down Expand Up @@ -234,7 +234,7 @@ jobs:
fail-fast: false
matrix:
include:
- image: ponylang/ponyc-ci-cross-armhf:20230809
- image: ghcr.io/ponylang/ponyc-ci-cross-armhf:20230830
name: armhf Linux glibc

name: ${{ matrix.name }}
Expand Down Expand Up @@ -283,7 +283,7 @@ jobs:
fail-fast: false
matrix:
include:
- image: ponylang/ponyc-ci-cross-aarch64:20230811
- image: ghcr.io/ponylang/ponyc-ci-cross-aarch64:20230830
name: aarch64 Linux glibc

name: ${{ matrix.name }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ jobs:
fail-fast: false
matrix:
include:
- image: ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu22.04-builder:20230806
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu22.04-builder:20230830
name: x86-64-unknown-linux-ubuntu22.04
triple-os: linux-ubuntu22.04
triple-vendor: unknown
- image: ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu20.04-builder:20230807
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu20.04-builder:20230830
name: x86-64-unknown-linux-ubuntu20.04
triple-os: linux-ubuntu20.04
triple-vendor: unknown
- image: ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20230822
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20230830
name: x86-64-unknown-linux-musl
triple-os: linux-musl
triple-vendor: unknown
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/stress-test-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,35 +12,35 @@ jobs:
fail-fast: false
matrix:
include:
- image: ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu22.04-builder:20230806
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu22.04-builder:20230830
name: x86-64-unknown-linux-ubuntu22.04 [release]
target: test-stress-release
debugger: lldb
- image: ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu22.04-builder:20230806
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu22.04-builder:20230830
name: x86-64-unknown-linux-ubuntu22.04 [debug]
target: test-stress-debug
debugger: lldb
- image: ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu22.04-builder:20230806
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu22.04-builder:20230830
name: x86-64-unknown-linux-ubuntu22.04 [cd] [release]
target: test-stress-with-cd-release
debugger: lldb
- image: ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu22.04-builder:20230806
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu22.04-builder:20230830
name: x86-64-unknown-linux-ubuntu22.04 [cd] [debug]
target: test-stress-with-cd-debug
debugger: lldb
- image: ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20230822
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20230830
name: x86-64-unknown-linux-musl [release]
target: test-stress-release
debugger: gdb
- image: ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20230822
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20230830
name: x86-64-unknown-linux-musl [debug]
target: test-stress-debug
debugger: gdb
- image: ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20230822
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20230830
name: x86-64-unknown-linux-musl [cd] [release]
target: test-stress-with-cd-release
debugger: gdb
- image: ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20230822
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20230830
name: x86-64-unknown-linux-musl [cd] [debug]
target: test-stress-with-cd-debug
debugger: gdb
Expand Down Expand Up @@ -95,16 +95,16 @@ jobs:
include:
# these don't currently use a debugger as cross compilation hasn't
# been set up to do 'run in debugger'
- image: ponylang/ponyc-ci-cross-aarch64:20230811
- image: ghcr.io/ponylang/ponyc-ci-cross-aarch64:20230830
name: aarch64-unknown-linux-ubuntu20.04 [release]
target: test-cross-stress-release
- image: ponylang/ponyc-ci-cross-aarch64:20230811
- image: ghcr.io/ponylang/ponyc-ci-cross-aarch64:20230830
name: aarch64-unknown-linux-ubuntu20.04 [debug]
target: test-cross-stress-debug
- image: ponylang/ponyc-ci-cross-aarch64:20230811
- image: ghcr.io/ponylang/ponyc-ci-cross-aarch64:20230830
name: aarch64-unknown-linux-ubuntu20.04 [cd] [release]
target: test-cross-stress-with-cd-release
- image: ponylang/ponyc-ci-cross-aarch64:20230811
- image: ghcr.io/ponylang/ponyc-ci-cross-aarch64:20230830
name: aarch64-unknown-linux-ubuntu20.04 [cd] [debug]
target: test-cross-stress-with-cd-debug

Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/update-lib-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
fail-fast: false
matrix:
include:
- image: ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu22.04-builder:20230806
- image: ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu20.04-builder:20230807
- image: ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20230822
- image: ponylang/ponyc-ci-cross-riscv64:20230808
- image: ponylang/ponyc-ci-cross-arm:20230809
- image: ponylang/ponyc-ci-cross-armhf:20230809
- image: ponylang/ponyc-ci-cross-aarch64:20230811
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu22.04-builder:20230830
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu20.04-builder:20230830
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20230830
- image: ghcr.io/ponylang/ponyc-ci-cross-riscv64:20230830
- image: ghcr.io/ponylang/ponyc-ci-cross-arm:20230830
- image: ghcr.io/ponylang/ponyc-ci-cross-armhf:20230830
- image: ghcr.io/ponylang/ponyc-ci-cross-aarch64:20230830

name: ${{ matrix.image }}
container:
Expand Down

0 comments on commit e8601d6

Please sign in to comment.