From bfcc639c2b6e747cdbeabca1a0e78dd60a798839 Mon Sep 17 00:00:00 2001 From: alnoki <43892045+alnoki@users.noreply.github.com> Date: Sun, 17 Nov 2024 12:55:29 -0800 Subject: [PATCH] Add authentication --- .github/workflows/push-processor.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/push-processor.yaml b/.github/workflows/push-processor.yaml index e90538dce..150058c8d 100644 --- a/.github/workflows/push-processor.yaml +++ b/.github/workflows/push-processor.yaml @@ -46,6 +46,8 @@ jobs: docker load --input /tmp/amd64.tar docker load --input /tmp/arm64.tar IMAGE_REFS=$(docker images -q | xargs -I {} echo "--amend {}") + docker login \ + -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_TOKEN }} echo "${{ steps.metadata.outputs.tags }}" | while read -r tag; do if [ ! -z "$tag" ]; then docker manifest create $tag $IMAGE_REFS && docker manifest push $tag