From 8eb10642e7660cf78160e823cef48a6fd0c267bf Mon Sep 17 00:00:00 2001 From: hlts2 Date: Wed, 17 Jul 2024 11:56:49 +0900 Subject: [PATCH] fix: invalid command Signed-off-by: hlts2 --- .github/workflows/dockers-image-sync.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dockers-image-sync.yaml b/.github/workflows/dockers-image-sync.yaml index 915410ee6e..d9b2b0c17f 100644 --- a/.github/workflows/dockers-image-sync.yaml +++ b/.github/workflows/dockers-image-sync.yaml @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -name: "Sync Docker image from Docker Hub to GHCR" +name: "Sync Docker image from Docker Hub to GitHub Container Registry" on: # TODO: The following events are for debugging purposes so I will remove them before merging. pull_request: @@ -30,8 +30,6 @@ jobs: - uses: actions/checkout@v4 - uses: ./.github/actions/dump-context - - ubuntu-devel: runs-on: ubuntu-latest @@ -70,6 +68,6 @@ jobs: password: ${{ secrets.PACKAGE_TOKEN }} - name: Pull Docker image from Docker Hub run: | - docker pull ubuntu:devel-${TARGET_PLATFORM} + docker pull --platform ${TARGET_PLATFORM} ubuntu:devel env: TARGET_PLATFORM: ${{ matrix.platforms }}