Skip to content

Commit d92337a

Browse files
committed
Use environment secret
1 parent b3c6b25 commit d92337a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/base-image.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
# - image/Dockerfile-base
99
# - .github/workflows/base-image.yaml
1010
schedule:
11-
- cron: 0 1 * * 1
11+
- cron: 0 1 1 * *
1212

1313
permissions:
1414
contents: read
@@ -20,8 +20,9 @@ jobs:
2020
permissions:
2121
id-token: write
2222
attestations: write
23-
env:
24-
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
23+
environment:
24+
name: dockerhub
25+
url: https://hub.docker.com/r/danielflook/terraform-github-actions-base
2526
steps:
2627
- name: Checkout
2728
uses: actions/checkout@v4

0 commit comments

Comments
 (0)