Skip to content

Commit 86512a9

Browse files
committed
ci: fix docker login
1 parent 57b0f47 commit 86512a9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/test-before-pr.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ name: Test before PR
22

33
on:
44
pull_request:
5-
branches: [ "main" ]
5+
branches: ["main"]
66

77
jobs:
88
test:
99
uses: ./.github/workflows/base-test.yml
10+
# https://docs.github.com/en/actions/using-workflows/reusing-workflows#passing-inputs-and-secrets-to-a-reusable-workflow
11+
secrets: inherit

.github/workflows/test-main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ name: Test main
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: ["main"]
66

77
jobs:
88
test:
99
uses: ./.github/workflows/base-test.yml
10+
# https://docs.github.com/en/actions/using-workflows/reusing-workflows#passing-inputs-and-secrets-to-a-reusable-workflow
11+
secrets: inherit

0 commit comments

Comments
 (0)