Skip to content

Commit 57f4662

Browse files
committed
fix release workflow
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
1 parent 2e6e30e commit 57f4662

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
run: npm test
3737

3838
- name: Publish
39-
run: npm publish --provenance --access public --dry-run=${{ inputs.dryRun }}
39+
run: npm publish --provenance --access public --dry-run=${{ inputs.dryRun && 'true' || 'false' }}
4040

4141
- name: GitHub Release
4242
if: ${{ ! inputs.dryRun }}
@@ -51,4 +51,4 @@ jobs:
5151
NPM_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
5252
run: |
5353
npm config set "//npm.pkg.github.com/:_authToken=${NPM_PUBLISH_TOKEN}"
54-
npm publish --provenance --access public --dry-run=${{ inputs.dryRun }} --registry=https://npm.pkg.github.com/
54+
npm publish --provenance --access public --dry-run=${{ inputs.dryRun && 'true' || 'false' }} --registry=https://npm.pkg.github.com/

lib/docker-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1299,7 +1299,7 @@ export class DockerClient {
12991299
fromImage: ref,
13001300
fromSrc: options?.fromSrc,
13011301
repo: options?.repo,
1302-
tag: options?.tag,
1302+
tag: options?.tag || 'latest',
13031303
message: options?.message,
13041304
changes: options?.changes,
13051305
platform: options?.platform,

0 commit comments

Comments
 (0)