From c1d19a7cc277f8209844b8b7697fc31e8510bc8f Mon Sep 17 00:00:00 2001 From: sam#gemmi-win10 Date: Tue, 16 Apr 2024 12:41:18 +0800 Subject: [PATCH] +gitac: all +bash buildx.sh opensuse gitac: sort gitac: & + wait gitac:left fedora gitac: bash buildx.sh rootfs; opensuse gitac: openwrt gitac: base full gitac: fedora only gitac: app gitac: +opensuse gitac: +app-alpine gitac: only ubt gitac: base/ubt +gitac: alma, alpine gitac: # bash buildx.sh #compile gitac: # bash buildx.sh flux gitac: bash buildx.sh flux gitac: deb12 gitac: all gitac: bash buildx.sh #compile gitac: #compile gitac: notes x3 gitac: bash buildx.sh #compile gitac: +alpine gitac: # bash buildx.sh #compile gitac: bash buildx.sh #compile gitac: bash buildx.sh alpine gitac: all gitac: xxx gitac: x3 bash buildx.sh flux gitac: bash buildx.sh #compile gitac: gtk224 gitac: #builder-gtk224 gitac: compile > bash buildx.sh builder gitac: bash buildx.sh #compile gitac: flux gitac compile gitac: flux gitac: compile, flux +gitac: x11-base.yml -- gitac: bash buildx.sh gitac: builder ARG TARGETPLATFORM gitac: bash buildx.sh flux gitac: bash buildx.sh ubt-builder gitac: bash buildx.sh deb12-builder gitac: bash buildx.sh flux gitac: flux only; bash buildx.sh alpine; bash buildx.sh #compile gitac: echo app; cd ../app; gitac: # bash buildx.sh deb12 gitac # bash buildx.sh alma gitac: bash buildx.sh flux gitac: bash buildx.sh #compile # bash buildx.sh #compile gitac: base alpine gitac: base> ubuntu, busybox # bash buildx.sh flux gitac: bash buildx.sh fedora gitac: +busybox # bash buildx.sh alma #gpg check fail gitac: base all gitac gitac: bash buildx.sh openwrt gitac base-sort gitac: bash buildx.sh flux gitac: bash buildx.sh rootfs gitac: app +alpine, opensuse gitac: only ubt gitac: app>> bash buildx.sh alpine gitac: base all gitac: nots base gitac: app wait; gitac: cat /tmp/.timecost gitac: bash buildx.sh #compile gitac: # exit 0 gitac: up -- # echo app; cd ../app; gitac: # bash buildx.sh #compile gitac: up gitac: open app; drop alma gitac: base> distros gitac: bash buildx.sh core alpine gitac: each two wait gitac: notes alpine gitac: export REPO=registry.cn-shenzhen.aliyuncs.com gitac: open alpine, drop wait gitac: export REPO=registry-1.docker.io gitac: open oth gitac: export REPO=registry.cn-shenzhen.aliyuncs.com gitac: bash buildx.sh rootfs gitac: app only gitac: hub's repo gitac: ali's; full distros wait gitac: secerts.XX export REPO=ccr.ccs.tencentyun.com gitac: export REPO=dockerhub.qingcloud.com gitac: mark repos gitac: fix gitac: fix repo=dockerhub.qingcloud.com gitac: # qingcloud| tag, size-only; none-arch,layer; gitac: tcloud login gitac: export REPO=registry-1.docker.io gitac: back ali gitac: dver gitac: notes opsuse gitac: notes alpine bash buildx.sh app ubuntu noble & gitac: gitac: only noble gitac: 3.19; 15.5 gitac: only alpine core gitac: all open gitac: dbg gitac: open all gitac # export REPO=registry.cn-shenzhen.aliyuncs.com gitac: repo ali gitac: ubt: 2x.04 gitac: hub gitac: back ali --- .github/workflows/docker-image-x11-base.yml | 114 ++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 .github/workflows/docker-image-x11-base.yml diff --git a/.github/workflows/docker-image-x11-base.yml b/.github/workflows/docker-image-x11-base.yml new file mode 100644 index 00000000..02813f77 --- /dev/null +++ b/.github/workflows/docker-image-x11-base.yml @@ -0,0 +1,114 @@ +name: docker-image-x11-base +on: + push: + branches: [ "dev", "sam-custom" ] + pull_request: + branches: [ "dev" ] +jobs: + build: + # runs-on: ubuntu-latest + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v3 + + - name: Setup QEMU + # uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 #ref docker-baseimage-gui + with: + platforms: arm,arm64,ppc64le,mips64,s390x + + - name: Setup Docker Buildx + # uses: docker/setup-buildx-action@ + uses: docker/setup-buildx-action@v2 + with: + driver-opts: network=host + + - name: Call buildx.sh(build with ali's cache, push) + run: | + # VARS + echo ${{ github.repository_owner }} #infrastlabs + echo ${{ github.repository }} + echo ${{ secrets.DOCKER_REGISTRY_PW_DOCKERHUB }} #fill not show in log + # INFO + pwd && ls -l + docker version + free -h; df -h; ip a |grep inet; uname -a; + + # ENV + # registry-1.docker.io| noneView + export DOCKER_REGISTRY_USER_dockerhub=${{ secrets.DOCKER_REGISTRY_USER_DOCKERHUB }} + export DOCKER_REGISTRY_PW_dockerhub=${{ secrets.DOCKER_REGISTRY_PW_DOCKERHUB }} + # ali's| size, none-arch, layers; + export DOCKER_REGISTRY_USER_infrastSubUser2=${{ secrets.DOCKER_REGISTRY_USER_INFRASTSUBUSER2 }} + export DOCKER_REGISTRY_PW_infrastSubUser2=${{ secrets.DOCKER_REGISTRY_PW_INFRASTSUBUSER2 }} + # tencloud| type:Docker-Manifest-List; none: size, arch, layers; x10:x500; slowPushBack; + export DOCKER_REGISTRY_TENCLOUD_USER=${{ secrets.DOCKER_REGISTRY_TENCLOUD_USER }} + export DOCKER_REGISTRY_TENCLOUD_PASS=${{ secrets.DOCKER_REGISTRY_TENCLOUD_PASS }} + # qingcloud| tag, size-only; none-arch,layer; + export DOCKER_REGISTRY_QCLOUD_USER=${{ secrets.DOCKER_REGISTRY_QCLOUD_USER }} + export DOCKER_REGISTRY_QCLOUD_PASS=${{ secrets.DOCKER_REGISTRY_QCLOUD_PASS }} + + # JUST LOGIN HERE + repo=ccr.ccs.tencentyun.com + echo "${DOCKER_REGISTRY_TENCLOUD_PASS}" |docker login --username=${DOCKER_REGISTRY_TENCLOUD_USER} --password-stdin $repo + repo=dockerhub.qingcloud.com + echo "${DOCKER_REGISTRY_QCLOUD_PASS}" |docker login --username=${DOCKER_REGISTRY_QCLOUD_USER} --password-stdin $repo + + + export REPO=registry-1.docker.io + export REPO=registry.cn-shenzhen.aliyuncs.com + # export REPO=ccr.ccs.tencentyun.com + # export REPO=dockerhub.qingcloud.com + # BUILD + :> /tmp/.timecost + echo compile; cd compile; + # # bash buildx.sh ubt-builder + # # bash buildx.sh deb12-builder + # # + # # bash buildx.sh builder + # # bash buildx.sh gtk224 #builder-gtk224 + # bash buildx.sh #compile + # exit 0 + # ############################# + echo flux; cd ../flux; + bash buildx.sh rootfs + # + echo distros; cd ../distros; + bash buildx.sh core alpine 3.19 & + bash buildx.sh core ubuntu 20.04 & + bash buildx.sh core ubuntu 22.04 & + bash buildx.sh core ubuntu 24.04 & + bash buildx.sh core opensuse 15.5 & + # oth + bash buildx.sh core busybox & + bash buildx.sh core openwrt & + bash buildx.sh core debian & + bash buildx.sh core fedora & + wait + # app + bash buildx.sh app alpine 3.19 & + bash buildx.sh app ubuntu 20.04 & + bash buildx.sh app ubuntu 22.04 & + bash buildx.sh app ubuntu 24.04 & + bash buildx.sh app opensuse 15.5 & + wait + # + # + # view timecost + cat /tmp/.timecost + + # post-build: + # name: Post-build + # needs: [ build ] + # runs-on: ubuntu-20.04 + # steps: + # - name: Prepare + # id: prep + # run: | + # # Determine the release type. + # echo 123 + # notification: + # name: Notification + # needs: [ build, post-build ] + # runs-on: ubuntu-20.04 + # if: ${{ always() }} \ No newline at end of file