Skip to content

chore: test aliyun

chore: test aliyun #1

Workflow file for this run

name: docker-build-doc-site
on: push
jobs:
website:
# if: "startsWith(github.event.commits[0].message, 'release')"
runs-on: ubuntu-latest
environment: prod
steps:
- uses: actions/setup-node@v3
with:
node-version: 16.15.0
- name: checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login Docker
uses: docker/login-action@v2
with:
registry: registry.cn-hangzhou.aliyuncs.com
username: [email protected]
password: ${{ secrets.ALIYUN_PASSWORD }}
# Docker Hub
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile.docs
push: true
tags:
# cipchk/ng-alain-docs:latest
registry.cn-hangzhou.aliyuncs.com/alain/ent:latest
# registry.gitlab.com/ng-alain/images:docs