ci: extract ds for lab deployments

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson
2026-03-23 14:34:56 +01:00
parent 09842d4594
commit bc9bb00b0c

View File

@@ -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 != '' }}