Skip to content

Commit

Permalink
chore: acton add create release
Browse files Browse the repository at this point in the history
  • Loading branch information
cooderl committed Mar 2, 2024
1 parent ed1a7d9 commit 1ba3a73
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Build WeWeRSS images and push image to docker hub
on:
workflow_dispatch:
push:
paths:
- "apps/**"
- "Dockerfile"
# paths:
# - "apps/**"
# - "Dockerfile"
tags:
- "v*.*.*"

Expand Down Expand Up @@ -98,3 +98,10 @@ jobs:
username: ${{ secrets.DOCKER_HUB_NAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
repository: ${{ secrets.DOCKER_HUB_NAME }}/wewe-rss

- name: Create a Release
uses: elgohr/Github-Release-Action@v5
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
with:
title: v${{ github.ref }}

0 comments on commit 1ba3a73

Please sign in to comment.