update package-lock #76
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-gateway-master | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v2 | |
with: | |
registry: docker.tarsyun.com | |
username: ${{ secrets.name }} | |
password: ${{ secrets.pass }} | |
- name: Create Build | |
run: | | |
docker run --rm --privileged tonistiigi/binfmt:latest --install all | |
docker buildx create --name k8s-framework-builder --use | |
docker buildx inspect --bootstrap --builder k8s-framework-builder | |
- name: Buildx Gateway | |
run: | | |
docker run -v `pwd`:/data --entrypoint "" tarscloud/base-deploy sh -c "cd /data && /usr/bin/create-buildx-dockerfile.sh cpp yaml/gateway.yaml latest dockerfile/Dockerfile.cpp" | |
- name: Create Gateway Docker | |
run: | | |
./docker-buildx-cloud.sh | |
- name: Buildx Web | |
run: | | |
docker run -v `pwd`:/data --entrypoint "" tarscloud/base-deploy sh -c "cd /data && /usr/bin/create-buildx-dockerfile.sh nodejs yaml/web.yaml latest dockerfile/Dockerfile.nodejs" | |
- name: Create web Docker | |
run: | | |
./docker-buildx-cloud.sh | |
- name: Buildx Product | |
run: | | |
docker run -v `pwd`:/data --entrypoint "" tarscloud/base-deploy sh -c "cd /data && /usr/bin/create-buildx-dockerfile-product.sh yaml/system.yaml latest" | |
- name: Create web Docker | |
run: | | |
./docker-buildx-cloud-product.sh |