[ascend]Zcx/llama2 infer 910b (#1254) #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build diopi docker | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- '**' | |
env: | |
PJLAB_Docker: Docker191 | |
TOKEN: ${{ secrets.PJ_GITLAB_TOKEN }} | |
WORK_DIR: "/home/wugeshui/diopi/senseparrots.dockerfile/diopi" | |
REF_NAME: '${{ github.ref_name }}' | |
jobs: | |
Buildimage: | |
name: buildimage | |
runs-on: github-parrots-docker-pjlab | |
steps: | |
- name: buildimage | |
run: | | |
ssh ${PJLAB_Docker} """ | |
set -e | |
cd ${WORK_DIR} && git pull | |
docker build -t registry.sensetime.com/parrots/parrots:pat_diopi_${REF_NAME} -f Dockerfile --build-arg GITLAB_TOKEN=${TOKEN} --build-arg Branch=${REF_NAME} . | |
docker push registry.sensetime.com/parrots/parrots:pat_diopi_${REF_NAME} | |
""" |