Skip to content

Commit

Permalink
+gitac: all +bash buildx.sh opensuse
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sam#gemmi-win10 authored and huapox committed Jun 20, 2024
1 parent 30ddcac commit c64d1da
Showing 1 changed file with 93 additions and 0 deletions.
93 changes: 93 additions & 0 deletions .github/workflows/docker-image-x11-base.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
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
export DOCKER_REGISTRY_USER_infrastSubUser2=${{ secrets.DOCKER_REGISTRY_USER_INFRASTSUBUSER2 }}
export DOCKER_REGISTRY_PW_infrastSubUser2=${{ secrets.DOCKER_REGISTRY_PW_INFRASTSUBUSER2 }}
export DOCKER_REGISTRY_USER_dockerhub=${{ secrets.DOCKER_REGISTRY_USER_DOCKERHUB }}
export DOCKER_REGISTRY_PW_dockerhub=${{ secrets.DOCKER_REGISTRY_PW_DOCKERHUB }}
export REPO=registry-1.docker.io
export REPO=registry.cn-shenzhen.aliyuncs.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 &
bash buildx.sh core ubuntu &
bash buildx.sh core opensuse &
# 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 &
bash buildx.sh app ubuntu &
bash buildx.sh app opensuse &
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() }}

0 comments on commit c64d1da

Please sign in to comment.