From f3e3dba1029e33303f95829ba4ed2284f0ff5866 Mon Sep 17 00:00:00 2001 From: "wcoder.com" <350840291@qq.com> Date: Fri, 1 Nov 2024 03:55:54 +0000 Subject: [PATCH] ${{ secrets.GITHUB_TOKEN }} --- .github/workflows/ghcr.io.amd64.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ghcr.io.amd64.yml b/.github/workflows/ghcr.io.amd64.yml index a8a6fbf..d3cb13a 100644 --- a/.github/workflows/ghcr.io.amd64.yml +++ b/.github/workflows/ghcr.io.amd64.yml @@ -20,6 +20,10 @@ jobs: docker system prune -a -f docker volume prune -f + - name: Login docker + run: | + echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u USERNAME --password-stdin + - name: Pull Docker Images and Package run: | images="${{ github.event.inputs.docker_images }}"