diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 8ea4745..c62ebb6 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -25,13 +25,19 @@ jobs: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ github.token }} + - + name: Login to Docker Hub + uses: docker/login-action@v2 + with: + username: ${{ variables.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} - name: Build and push id: docker_build uses: docker/build-push-action@v3 with: push: true - tags: ghcr.io/${{ github.repository_owner }}/dynalite:latest + tags: ghcr.io/${{ github.repository_owner }}/dynalite:latest,dimaqq/dynalite:latest platforms: linux/amd64,linux/arm64 cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/dynalite:latest cache-to: type=inline