ci: update release workflow to accept tag pushes only
This commit is contained in:
1 parent
e1b14d2457
commit
175295b298
1 file changed
+3
-3
@@ -2,8 +2,8 @@ name: Release
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "main"
|
||||
tags:
|
||||
- "v*"
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
@@ -29,4 +29,4 @@ jobs:
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
tags: ghcr.io/r15-software-dev/scholarships-runner:latest
|
||||
tags: ghcr.io/r15-software-dev/scholarships-runner:${{ github.ref_name }}
|
||||
Reference in new issue
Block a user