mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-05-23 11:16:59 -04:00
Switch to manual Docker builds
This commit is contained in:
parent
99f94425c2
commit
89b1f9924b
3 changed files with 43 additions and 1 deletions
22
.github/workflows/CD-Docker.yml
vendored
Normal file
22
.github/workflows/CD-Docker.yml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
name: CD (Docker)
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "*"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2.3.3
|
||||
|
||||
- name: Build
|
||||
run: docker build -t tyrrrz/discordchatexporter:${{ github.ref }} -t tyrrrz/discordchatexporter:stable .
|
||||
|
||||
- name: Deploy
|
||||
run: |
|
||||
docker push tyrrrz/discordchatexporter:${{ github.ref }}
|
||||
docker push tyrrrz/discordchatexporter:stable
|
20
.github/workflows/CI-Docker.yml
vendored
Normal file
20
.github/workflows/CI-Docker.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
name: CI (Docker)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2.3.3
|
||||
|
||||
- name: Build
|
||||
run: docker build -t tyrrrz/discordchatexporter:latest .
|
||||
|
||||
- name: Deploy
|
||||
run: docker push tyrrrz/discordchatexporter:latest
|
Loading…
Add table
Add a link
Reference in a new issue