mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2024-09-19 20:28:46 -04:00
25 lines
No EOL
548 B
YAML
25 lines
No EOL
548 B
YAML
name: Docker CD
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "*"
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2.3.3
|
|
|
|
- name: Login
|
|
run: docker login -u tyrrrz -p ${{ secrets.DOCKER_TOKEN }}
|
|
|
|
- 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 |