Skip to content

Commit 9b2d976

Browse files
committed
Move secrets to global env
1 parent 50db22d commit 9b2d976

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/default.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ on:
1010
schedule:
1111
- cron: '0 16 * * 0' # Every Sunday at 4PM
1212

13+
env:
14+
DOCKERHUB_ORG: ${{ secrets.DOCKERHUB_ORG }}
15+
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
16+
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
17+
1318
jobs:
1419
build:
1520
name: "Build: ${{ matrix.version }}"
@@ -24,9 +29,6 @@ jobs:
2429
- version: "8.1"
2530
env:
2631
VERSION: ${{ matrix.version }}
27-
DOCKERHUB_ORG: ${{ secrets.DOCKERHUB_ORG }}
28-
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
29-
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
3032

3133
steps:
3234
- name: Checkout

0 commit comments

Comments
 (0)