Authenticate Docker jobs

This commit is contained in:
Tyrrrz 2021-07-26 18:02:44 +03:00
parent 89b1f9924b
commit a449c02dd5
2 changed files with 8 additions and 2 deletions

View file

@ -1,4 +1,4 @@
name: CD (Docker)
name: Docker CD
on:
push:
@ -13,6 +13,9 @@ jobs:
- 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 .

View file

@ -1,4 +1,4 @@
name: CI (Docker)
name: Docker CI
on:
push:
@ -13,6 +13,9 @@ jobs:
- 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:latest .