Skip to content

Commit 4da5708

Browse files
committed
Fix test Docker image workflow
Fixed dry run not working and Docker registry.
1 parent d67a6db commit 4da5708

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/test-docker.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ jobs:
2929
project: [ mithril-aggregator, mithril-client, mithril-signer ]
3030

3131
permissions:
32-
contents: read
32+
contents: read
33+
packages: write
3334

3435
env:
3536
REGISTRY: ghcr.io
@@ -53,7 +54,7 @@ jobs:
5354
path: ${{ matrix.project }}
5455
commit: ${{ inputs.commit_sha }}
5556
workflow: ci.yml
56-
workflow_conclusion: success
57+
workflow_conclusion: completed
5758

5859
- name: Log in to the Container registry
5960
uses: docker/login-action@v2
@@ -77,5 +78,5 @@ jobs:
7778
context: ${{ env.CONTEXT }}
7879
file: ${{ env.DOCKER_FILE }}
7980
build-args: CARDANO_BIN_URL=${{ inputs.cardano_bin_url }}
80-
push: ${{ inputs.dry_run == 'false' }}
81+
push: ${{ inputs.dry_run == false }}
8182
tags: ${{ steps.meta.outputs.tags }}

0 commit comments

Comments
 (0)