Skip to content

Commit 09cf7cd

Browse files
committed
Fixup release step
1 parent d857931 commit 09cf7cd

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/check-action.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: check action works
22

3+
permissions:
4+
contents: read
5+
36
on: [push]
47

58
jobs:

.github/workflows/publish.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
push_to_registry:
1313
name: Push Docker image to Docker hub
1414
runs-on: ubuntu-latest
15+
environment:
16+
name: Build Docker images
1517
steps:
1618
- name: Check out the repository
1719
uses: actions/checkout@v4
@@ -30,6 +32,7 @@ jobs:
3032
uses: sudo-bot/action-docker-sign@latest
3133
with:
3234
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 }}"
3436
private-key: ${{ secrets.DOCKER_PRIVATE_KEY }}
3537
private-key-passphrase: ${{ secrets.DOCKER_PRIVATE_KEY_PASSPHRASE }}
38+
private-key-name: "${{ vars.DOCKER_PRIVATE_KEY_NAME }}"

0 commit comments

Comments
 (0)