Skip to content

update tarsweb/tarscpp #334

update tarsweb/tarscpp

update tarsweb/tarscpp #334

name: build-compiler-release-3.0
on:
push:
branches:
- master
paths:
- ".github/workflows/build-compiler-release-3.0.yml"
- "compiler/tools/**"
- "compiler/base-compil"
- "compiler/base-compier-bullseye.Dockerfile"
- "submodule/TarsCpp"
pull_request:
branches:
- master
paths:
- ".github/workflows/build-compiler-release-3.0.yml"
- "compiler/tools/**"
- "submodule/TarsCpp/Changelist-3.x.md"
- "compiler/base-compiler-bullseye.Dockerfile"
- "submodule/TarsCpp"
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: env
run: env
- uses: actions/checkout@v1
- name: login docker hub
run: docker login -u ${{ secrets.name }} -p ${{ secrets.pass }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and push
uses: docker/build-push-action@v3
with:
context: "{{defaultContext}}:compiler"
push: true
tags: tarscloud/base-compiler-bullseye:v3.0
file: base-compiler-bullseye.Dockerfile
build-args: |
BRANCH=release/3.0
TARS_SSL=OFF
platforms: linux/amd64,linux/arm64
build-ssl:
runs-on: ubuntu-20.04
steps:
- name: env
run: env
- uses: actions/checkout@v1
- name: login docker hub
run: docker login -u ${{ secrets.name }} -p ${{ secrets.pass }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and push
uses: docker/build-push-action@v3
with:
context: "{{defaultContext}}:compiler"
push: true
tags: tarscloud/base-compiler-bullseye-ssl:v3.0
file: base-compiler-bullseye.Dockerfile
build-args: |
BRANCH=release/3.0
TARS_SSL=ON
platforms: linux/amd64,linux/arm64
# - name: Build docker
# run: cd compiler && docker buildx build . -f base-compiler.Dockerfile -t tarscloud/base-compiler:v3.0 --build-arg BRANCH=release/3.0 --platform=linux/amd64,linux/arm64 --push