Skip to content

feat: Image creation supports address, command, local, and upload pac… #65

feat: Image creation supports address, command, local, and upload pac…

feat: Image creation supports address, command, local, and upload pac… #65

name: commit-ci-build
on:
push:
branches: [main, V5.*, fixbug*, Develop*]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
id: extract_branch
- name: Build the Docker image
env:
TRAVIS_PULL_REQUEST: false
BUILD_RBD_APP_UI: false
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOMESTIC_DOCKER_PASSWORD: ${{ secrets.DOMESTIC_DOCKER_PASSWORD }}
DOMESTIC_DOCKER_USERNAME: ${{ secrets.DOMESTIC_DOCKER_USERNAME }}
run: VERSION=${{ steps.extract_branch.outputs.branch }}-dev ./build.sh