File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
name : check action works
2
2
3
+ permissions :
4
+ contents : read
5
+
3
6
on : [push]
4
7
5
8
jobs :
Original file line number Diff line number Diff line change 12
12
push_to_registry :
13
13
name : Push Docker image to Docker hub
14
14
runs-on : ubuntu-latest
15
+ environment :
16
+ name : Build Docker images
15
17
steps :
16
18
- name : Check out the repository
17
19
uses : actions/checkout@v4
30
32
uses : sudo-bot/action-docker-sign@latest
31
33
with :
32
34
image-ref : " docker.io/botsudo/action-docker-compose:latest"
33
- private-key-id : " ${{ secrets .DOCKER_PRIVATE_KEY_ID }}"
35
+ private-key-id : " ${{ vars .DOCKER_PRIVATE_KEY_ID }}"
34
36
private-key : ${{ secrets.DOCKER_PRIVATE_KEY }}
35
37
private-key-passphrase : ${{ secrets.DOCKER_PRIVATE_KEY_PASSPHRASE }}
38
+ private-key-name : " ${{ vars.DOCKER_PRIVATE_KEY_NAME }}"
You can’t perform that action at this time.
0 commit comments