Skip to content

Commit

Permalink
workflows/docker: tweak syntax
Browse files Browse the repository at this point in the history
Co-authored-by: Carlo Cabrera <[email protected]>
  • Loading branch information
ZhongRuoyu and carlocab authored Aug 26, 2024
1 parent 74e27a9 commit e7e244e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}

Expand All @@ -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}}

Expand Down

0 comments on commit e7e244e

Please sign in to comment.