Skip to content

Commit

Permalink
auth in workflow instead of action
Browse files Browse the repository at this point in the history
  • Loading branch information
angusbayley committed Jan 16, 2025
1 parent 5fa7ec7 commit 610ae6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/generate-screenshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ jobs:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
runs-on: [ledger-live-4xlarge]
steps:
- name: Docker Hub Login
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: generate token
id: generate-token
uses: tibdex/github-app-token@v1
Expand Down
6 changes: 0 additions & 6 deletions tools/actions/composites/update-snapshots-desktop/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ inputs:
runs:
using: "composite"
steps:
- name: Docker Hub Login
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- name: Update playwright snapshots [Linux => xvfb-run]
if: ${{ startsWith(inputs.os, 'ubuntu') }}
run: |
Expand Down

0 comments on commit 610ae6b

Please sign in to comment.