芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/giga.mgaplay.com.br/vendor/xibosignage/xibo-xmr/.github/workflows/build.yaml
name: Build on: push: branches: - master release: types: [ published ] workflow_dispatch: jobs: build: name: Build if: github.repository == 'xibosignage/xibo-xmr' runs-on: ubuntu-18.04 steps: - name: Checkout uses: actions/checkout@v1 with: fetch-depth: 1 - name: Login run: | docker login --username ${{ secrets.DOCKER_HUB_USERNAME }} --password ${{ secrets.DOCKER_HUB_TOKEN }} - name: Build Latest if: github.ref == 'refs/heads/master' run: | docker build . -t xibosignage/xibo-xmr:latest docker push xibosignage/xibo-xmr:latest - name: Build Release if: github.event_name == 'release' run: | docker build . -t xibosignage/xibo-xmr:${GITHUB_REF##*/} docker push xibosignage/xibo-xmr:${GITHUB_REF##*/}