Skip to content

优化容器配置换行样式 (#686) #536

优化容器配置换行样式 (#686)

优化容器配置换行样式 (#686) #536

Workflow file for this run

name: Publish dashboard and pixiu aio images
on:
push:
branches: [ "master" ]
env:
# Use docker.io for Docker Hub if empty
REGISTRY: harbor.cloud.pixiuio.com
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Get short commit hash
run: |
echo "COMMIT_HASH=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
echo "TIMESTAMP=$(date +%Y%m%d%H%M%S)" >> $GITHUB_ENV
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login in dockerhub
uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
with:
registry: ${{ env.REGISTRY }}
username: ${{ secrets.DOCKER_NAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push dashboard image
run: make push
- name: Build and push pixiu aio image
run: make push-aio