From e7e244e6c285fe23650f64415b9810a24d2d9bb4 Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong Date: Mon, 26 Aug 2024 12:56:29 +0800 Subject: [PATCH] workflows/docker: tweak syntax Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> --- .github/workflows/docker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 28febbb7551e8..0d69252162e7d 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -55,7 +55,7 @@ jobs: github.event_name == 'release' || (github.event_name == 'push' && github.ref == 'refs/heads/master') run: | - echo "$TOKEN" | docker login ghcr.io -u BrewTestBot --password-stdin + docker login ghcr.io -u BrewTestBot --password-stdin <<<"$TOKEN" env: TOKEN: ${{secrets.HOMEBREW_BREW_GITHUB_PACKAGES_TOKEN}} @@ -64,7 +64,7 @@ jobs: github.event_name == 'release' || (github.event_name == 'push' && github.ref == 'refs/heads/master') run: | - echo "$TOKEN" | docker login -u brewtestbot --password-stdin + docker login -u brewtestbot --password-stdin <<<"$TOKEN" env: TOKEN: ${{secrets.HOMEBREW_BREW_DOCKER_TOKEN}}