Skip to content

Commit 95634dc

Browse files
authored
ci: update release workflow
1 parent 61d4896 commit 95634dc

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/release.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ jobs:
1111
- name: Checkout repository
1212
uses: actions/checkout@v2
1313
- name: Setup release please
14-
uses: google-github-actions/release-please-action@v2.19.1
14+
uses: google-github-actions/release-please-action@v2
1515
id: release
1616
with:
1717
token: ${{ secrets.GITHUB_TOKEN }}
1818
release-type: simple
19-
changelog-path: docs/changelog.md
20-
package-name: streetmerchant
19+
changelog-path: CHANGELOG.md
20+
package-name: audit-org-keys
2121
- name: Login into GitHub Container Registry
2222
if: ${{ steps.release.outputs.release_created }}
23-
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
23+
run: echo ${{ secrets.CR_PAT }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
2424
- name: Build Docker image
2525
if: ${{ steps.release.outputs.release_created }}
2626
run: |
@@ -31,4 +31,6 @@ jobs:
3131
TAG_NAME: ${{ steps.release.outputs.tag_name }}
3232
- name: Release Docker image
3333
if: ${{ steps.release.outputs.release_created }}
34-
run: docker push "ghcr.io/${GITHUB_REPOSITORY}"
34+
run: |
35+
docker push "ghcr.io/${GITHUB_REPOSITORY}:${TAG_NAME}"
36+
docker push "ghcr.io/${GITHUB_REPOSITORY}:latest"

0 commit comments

Comments
 (0)