Switch to manual Docker builds

pull/678/head
Tyrrrz 3 years ago
parent 99f94425c2
commit 89b1f9924b

@ -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

@ -68,4 +68,4 @@ jobs:
upload_url: ${{ steps.create_release.outputs.upload_url }} upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: DiscordChatExporter.Gui/bin/Publish/Archive.zip asset_path: DiscordChatExporter.Gui/bin/Publish/Archive.zip
asset_name: DiscordChatExporter.zip asset_name: DiscordChatExporter.zip
asset_content_type: application/zip asset_content_type: application/zip

@ -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…
Cancel
Save