From b2e75741703b93187adbb4064ce0cd704d3c0513 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Sat, 17 Jul 2021 13:16:56 +0900 Subject: [PATCH] =?UTF-8?q?change=20registry=20docker.pkg.github.com?= =?UTF-8?q?=E2=86=92ghcr.io?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 2 +- bin/build | 2 +- docker-compose.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 12d4333..df652e9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,6 +9,6 @@ jobs: - uses: actions/checkout@v2 - run: sudo apt-get update - run: sudo apt-get install -y qemu-user-static - - run: docker login docker.pkg.github.com -u "${GITHUB_ACTOR}" -p "${{ github.token }}" + - run: docker login ghcr.io -u "${GITHUB_ACTOR}" -p "${{ github.token }}" - run: bin/build - run: docker-compose push diff --git a/bin/build b/bin/build index cf96534..9fc57ec 100755 --- a/bin/build +++ b/bin/build @@ -5,7 +5,7 @@ cd -- "$(dirname -- "$0")/.." set -eux version="$(bin/version)" -bin/import "${version}" docker.pkg.github.com/kou029w/yama/minirootfs +bin/import "${version}" ghcr.io/kou029w/yama/minirootfs rm -rf dist mkdir dist bin/download "${version}" dist diff --git a/docker-compose.yml b/docker-compose.yml index 9191977..3857524 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: "3" services: minirootfs: - image: docker.pkg.github.com/kou029w/yama/minirootfs + image: ghcr.io/kou029w/yama/minirootfs volumes: - ./cache:/etc/apk/cache - ./apkovl/etc/apk/repositories:/etc/apk/repositories