From 26b1255c3cc792205add20abf3d38e6deebd4f6f Mon Sep 17 00:00:00 2001 From: Andrew Marchukov Date: Fri, 23 Apr 2021 18:01:00 +0300 Subject: [PATCH] Update docker-image.yml --- .github/workflows/docker-image.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 4855661..1ce5688 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -42,3 +42,18 @@ jobs: echo VERSION=$VERSION docker tag image $IMAGE_ID:$VERSION docker push $IMAGE_ID:$VERSION + + - + name: Login to DockerHub + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - + name: Build and push + uses: docker/build-push-action@v2 + with: + context: . + push: true + tags: andrewmhub/insurgency-sandstorm:latest +