diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index bc0be5185a..4554f6ead1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -65,6 +65,20 @@ jobs: docker-bake.hcl targets: release provenance: false + - + name: Login to Docker Hub + if: ${{ env.DOCS_S3_BUCKET != '' && github.ref == 'refs/heads/lab' }} + uses: docker/login-action@v4 + with: + username: ${{ vars.DOCKER_USER }} + password: ${{ secrets.DOCKER_TOKEN }} + - + name: Copy dash sub-site + if: ${{ env.DOCS_S3_BUCKET != '' && github.ref == 'refs/heads/lab' }} + run: | + docker buildx build --output type=local,dest=public - <<'EOF' + FROM docs/dash:dist-latest + EOF - name: Configure AWS Credentials if: ${{ env.DOCS_AWS_IAM_ROLE != '' }}