From 0ec2b761d54c17d7b606d9f81c83712168474aef Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Sat, 17 Jul 2021 13:21:30 +0900 Subject: [PATCH] fix warning/use --password-stdin --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index df652e9..2571f5e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,6 +9,9 @@ jobs: - uses: actions/checkout@v2 - run: sudo apt-get update - run: sudo apt-get install -y qemu-user-static - - run: docker login ghcr.io -u "${GITHUB_ACTOR}" -p "${{ github.token }}" + - name: Docker login + run: | + echo "${{ github.token }}" \ + | docker login ghcr.io -u "${GITHUB_ACTOR}" --password-stdin - run: bin/build - run: docker-compose push