From e5dd8cc89c41613a5fd2437fea16b499ac3de11e Mon Sep 17 00:00:00 2001 From: John Niang Date: Thu, 8 Sep 2022 15:13:37 +0800 Subject: [PATCH] Support pushing to Docker Hub (#607) --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 564947f3..2e0915b4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -94,4 +94,6 @@ jobs: with: image-name: admin-dev ghcr-token: ${{ secrets.GHCR_TOKEN }} + dockerhub-user: ${{ secrets.DOCKER_USERNAME }} + dockerhub-token: ${{ secrets.DOCKER_TOKEN }} push: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/next' }} # we only push to GHCR if the push is to the next branch