-
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.
- Loading branch information
sam#gemmi-win10
committed
Oct 14, 2023
1 parent
692e1db
commit baeed2c
Showing
1 changed file
with
40 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,40 @@ | ||
name: docker-image | ||
on: | ||
push: | ||
branches: [ "feat/deb12" ] | ||
pull_request: | ||
branches: [ "feat/deb12" ] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup QEMU | ||
uses: docker/setup-qemu-action@v1 | ||
|
||
- name: Setup Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
|
||
- 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 deb12; cd deb12; | ||
# sh buildx.sh compile | ||
sh buildx.sh slim; #sh buildx.sh base | ||
# sh buildx.sh #core |