Skip to content

Commit 16d00c6

Browse files
committed
run docker actions in a github environment
1 parent 8aa4f20 commit 16d00c6

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/docker-edge.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,13 @@ name: Docker build (edge)
33
on:
44
push: { branches: master }
55

6+
permissions:
7+
contents: read
8+
69
jobs:
710
docker:
811
runs-on: ubuntu-latest
12+
environment: dockerhub
913

1014
steps:
1115
- name: Checkout

.github/workflows/docker-latest.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,13 @@ on:
1212
tags:
1313
- 'v[0-9]+.[0-9]+.[0-9]+'
1414

15+
permissions:
16+
contents: read
17+
1518
jobs:
1619
docker:
1720
runs-on: ubuntu-latest
21+
environment: dockerhub
1822

1923
steps:
2024
- name: Checkout

0 commit comments

Comments
 (0)