File tree Expand file tree Collapse file tree 3 files changed +18
-90
lines changed Expand file tree Collapse file tree 3 files changed +18
-90
lines changed Original file line number Diff line number Diff line change 1
- name : Publish Docker image
1
+ name : Release
2
+
2
3
on :
3
- workflow_run :
4
- workflows : ["Testing pipeline"]
5
- branches : [main]
6
- types :
7
- - completed
4
+ push :
5
+ branches :
6
+ - master
7
+
8
8
jobs :
9
- Push_to_registry :
10
- if : ${{ github.event.workflow_run.conclusion == 'success' }}
11
- name : Push Docker image to Docker Hub
9
+ dockerhub-release :
12
10
runs-on : ubuntu-latest
13
11
steps :
14
- - name : checkout
15
- uses : actions/checkout@v2
16
- - name : Log in to Docker Hub
12
+ - uses : actions/ checkout@v2
13
+
14
+ - name : Login to DockerHub
17
15
uses : docker/login-action@v1
18
16
with :
19
17
username : ${{ secrets.DOCKER_USERNAME }}
20
- password : ${{ secrets.DOCKER_PASSWORD }}
21
- - name : Push to Docker Hub
18
+ password : ${{ secrets.DOCKER_PASSWORD }}
19
+
20
+ - name : Build and push
22
21
uses : docker/build-push-action@v2
23
22
with :
24
23
push : true
25
- tags : discordbotsyksy/discordbot :latest
24
+ tags : toska/cs-discord-bot :latest
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 109
109
* .swp
110
110
111
111
/src /promMetrics /graph /
112
+
113
+ docker-compose.yml
114
+ pg_dump.sql
115
+ pg_data
You can’t perform that action at this time.
0 commit comments