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

Commit ee5378b

Browse files
committed
Fix Release workflow (#11)
Signed-off-by: hayk96 <hayko5999@gmail.com>
1 parent 11cfae9 commit ee5378b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Release
22

33
on:
4+
push: {}
45
pull_request:
56
branches:
67
- main
@@ -9,7 +10,7 @@ on:
910
paths: [src/**/*, main.py, requirements.txt, Dockerfile]
1011

1112
env:
12-
PR_NUMBER: pr${{ github.event.number }}
13+
PR_NUMBER: pr11
1314

1415
jobs:
1516
push:
@@ -59,7 +60,7 @@ jobs:
5960
password: ${{ secrets.GITHUB_TOKEN }}
6061
- name: Push Docker images to DockerHub
6162
run: |
62-
docker push docker.io/${{ github.repository }}:${{ needs.push.outputs.gitTag }}
63+
docker push docker.io/${{ github.repository }}:${{ steps.git_tag.outputs.tag }}
6364
docker push docker.io/${{ github.repository }}:latest
6465
- name: Push Docker images to GH Container registry
6566
run: |

0 commit comments

Comments
 (0)