File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,18 +11,18 @@ jobs:
11
11
12
12
13
13
- name : build image
14
- run : docker build -t ${{ secrets.REGISTRY_USERNAME }}/inferno-os:latest .
14
+ run : docker build -t ${{ secrets.REGISTRY_USERNAME }}/inferno-os:${GITHUB_REF##*/} .
15
15
16
16
- name : login to hub.docker.com
17
17
run : docker login -u ${{ secrets.REGISTRY_USERNAME }} -p ${{ secrets.REGISTRY_PASSWORD }}
18
18
19
19
- name : push image to registry
20
- run : docker image push ${{ secrets.REGISTRY_USERNAME }}/inferno-os:latest
20
+ run : docker image push ${{ secrets.REGISTRY_USERNAME }}/inferno-os:${GITHUB_REF##*/}
21
21
22
22
- name : Notify Telegram
23
23
24
24
if : always()
25
25
with :
26
26
chat : ${{ secrets.TGBOT_CHAT }}
27
27
token : ${{ secrets.TGBOT_TOKEN }}
28
- status : ${{ job.status }}
28
+ status : ${{ job.status }}
You can’t perform that action at this time.
0 commit comments