Skip to content

Commit 1ff9537

Browse files
committed
pipelines
1 parent d9a705b commit 1ff9537

File tree

3 files changed

+18
-90
lines changed

3 files changed

+18
-90
lines changed

.github/workflows/publish.yml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
1-
name: Publish Docker image
1+
name: Release
2+
23
on:
3-
workflow_run:
4-
workflows: ["Testing pipeline"]
5-
branches: [main]
6-
types:
7-
- completed
4+
push:
5+
branches:
6+
- master
7+
88
jobs:
9-
Push_to_registry:
10-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
11-
name: Push Docker image to Docker Hub
9+
dockerhub-release:
1210
runs-on: ubuntu-latest
1311
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
1715
uses: docker/login-action@v1
1816
with:
1917
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
2221
uses: docker/build-push-action@v2
2322
with:
2423
push: true
25-
tags: discordbotsyksy/discordbot:latest
24+
tags: toska/cs-discord-bot:latest

.github/workflows/test.yml

Lines changed: 0 additions & 75 deletions
This file was deleted.

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,7 @@ dist
109109
*.swp
110110

111111
/src/promMetrics/graph/
112+
113+
docker-compose.yml
114+
pg_dump.sql
115+
pg_data

0 commit comments

Comments
 (0)