-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref docker-baseimg-gui tiger, fix path drop plat arg gitac: tiger # branches: [ "dev", "feat/ubt-armv7" ] GITAC
sam#gemmi-win10
committed
Oct 20, 2024
1 parent
75d0bf4
commit 33965ac
Showing
1 changed file
with
61 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: docker-image-tiger | ||
on: | ||
push: | ||
branches: [ "dev", "feat/ubt-armv7AAA" ] | ||
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 }} | ||
# BUILD | ||
echo core; cd ubt-core/src/gcc/static; | ||
# sh buildx.sh compile2 | ||
bash alpine-build.sh docker.io | ||
# 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() }} |