mirror of
https://github.com/docker/docs.git
synced 2026-03-27 06:18:55 +07:00
ci: extract ds for lab deployments
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
14
.github/workflows/deploy.yml
vendored
14
.github/workflows/deploy.yml
vendored
@@ -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 != '' }}
|
||||
|
||||
Reference in New Issue
Block a user