Skip to content

update tarscpp/tarsweb #22

update tarscpp/tarsweb

update tarscpp/tarsweb #22

name: build-compiler-master-buster
on:
push:
branches:
- master
paths:
- ".github/workflows/build-compiler-master-buster.yml"
- "compiler/tools/**"
- "compiler/base-compiler-buster.Dockerfile"
- "submodule/TarsCpp"
pull_request:
branches:
- master
paths:
- ".github/workflows/build-compiler-master-buster.yml"
- "compiler/tools/**"
- "compiler/base-compiler-buster.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-buster:latest
file: base-compiler-buster.Dockerfile
build-args: |
BRANCH=master
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-buster-ssl:latest
file: base-compiler-buster.Dockerfile
build-args: |
BRANCH=master
TARS_SSL=ON
platforms: linux/amd64,linux/arm64