From 40430c5150312a0b331fcd88ee6516424ddb2d72 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Wed, 8 Feb 2023 16:46:15 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20github:=20Push=20image?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 14778c7..2835bf4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,7 +24,12 @@ jobs: # TODO data # TODO matrix for all Dockerfiles - + - + name: Login to Docker Hub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build core uses: docker/build-push-action@v4 @@ -33,7 +38,7 @@ jobs: file: Dockerfile-core build-args: DRONE_COMMIT=${{ github.sha }} - push: false + push: true tags: ${{ github.sha }} - name: Build dinglehopper @@ -43,5 +48,5 @@ jobs: file: Dockerfile-dinglehopper build-args: DRONE_COMMIT=${{ github.sha }} - push: false + push: true tags: ${{ github.sha }}