dd21a1b290
* Modified Dockerfile.app * Add github workflow * Modify GIT_BRANCH * Modify Dockerfile.app, change github repo * Add prefix for name services * Add login image build * Change nginx config loclahost to 127.0.0.1 * Del static login files from proxy image * Modify environmet for yml files * Fix build hooks * Add env STATUS for build hooks * For testinig dockerhub build * Fix * Branch for action feature/github-action-build-docker * Modify hooks * Modify hooks, develop branch for action * Add service-login to proxy * Action test amd64 * Action test amd64 * Git action build only amd64 * Github action from develop
43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
name: 4testing multiarch-build
|
|
|
|
on:
|
|
push:
|
|
branches: [ "develop" ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
platform: [linux/amd64]
|
|
steps:
|
|
-
|
|
name: Checkout
|
|
uses: actions/checkout@v2
|
|
-
|
|
name: Set up QEMU
|
|
uses: docker/setup-qemu-action@v2
|
|
-
|
|
name: Set up Docker Buildx
|
|
id: buildx
|
|
uses: docker/setup-buildx-action@v1
|
|
-
|
|
name: Login to DockerHub
|
|
uses: docker/login-action@v2
|
|
with:
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
-
|
|
name: Build 4testing
|
|
run: |
|
|
cd ./build/install/docker
|
|
REPO="onlyoffice" \
|
|
DOCKER_IMAGE_PREFIX="4testing-docspace" \
|
|
DOCKER_TAG="develop" \
|
|
DOCKERFILE="Dockerfile.app" \
|
|
docker buildx bake -f build.yml \
|
|
--set *.args.GIT_BRANCH="develop" \
|
|
--set *.platform=linux/amd64 \
|
|
--push
|
|
shell: bash
|