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 +