Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit 5bb6711

Browse files
authored
fix: Adjust workflow to trigger docker image push (#117)
Signed-off-by: grzesuav <grzesuav@gmail.com>
1 parent 6704701 commit 5bb6711

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/release-docker.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: Release docker image
33
on:
4-
push:
4+
create:
55
tags:
66
- 'v[0-9]+.[0-9]+.[0-9]+'
77
jobs:
@@ -36,7 +36,7 @@ jobs:
3636
with:
3737
username: ${{ secrets.DOCKER_USERNAME }}
3838
password: ${{ secrets.DOCKER_PASSWORD }}
39-
repository: quay.io/amitkumardas/metac
39+
repository: amitkumardas/metac
4040
registry: quay.io
4141
tag_with_ref: true
4242
add_git_labels: true

.github/workflows/test-release.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
needs: ['tests']
2727
steps:
2828
- name: Checkout
29-
uses: actions/checkout@v2
29+
uses: actions/checkout@v1
3030
- name: Setup Node.js
3131
uses: actions/setup-node@v1
3232
with:
@@ -35,6 +35,5 @@ jobs:
3535
run: npm install ci
3636
- name: Release
3737
env:
38-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
38+
GITHUB_TOKEN: ${{ secrets.PAT }}
4039
run: npx semantic-release

0 commit comments

Comments
 (0)