From a449c02dd52176e13b8cb5e4042e2d6ccb2a85c6 Mon Sep 17 00:00:00 2001 From: Tyrrrz Date: Mon, 26 Jul 2021 18:02:44 +0300 Subject: [PATCH] Authenticate Docker jobs --- .github/workflows/CD-Docker.yml | 5 ++++- .github/workflows/CI-Docker.yml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CD-Docker.yml b/.github/workflows/CD-Docker.yml index 7edc662..f6eca83 100644 --- a/.github/workflows/CD-Docker.yml +++ b/.github/workflows/CD-Docker.yml @@ -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 . diff --git a/.github/workflows/CI-Docker.yml b/.github/workflows/CI-Docker.yml index 664d512..6798641 100644 --- a/.github/workflows/CI-Docker.yml +++ b/.github/workflows/CI-Docker.yml @@ -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 .