mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-23 00:54:26 +01:00
Update git action and crosstool-ng
This commit is contained in:
parent
c7fcae512e
commit
f6eb0cb349
11
.github/workflows/main.yml
vendored
11
.github/workflows/main.yml
vendored
@ -11,7 +11,8 @@ on:
|
||||
pull_request:
|
||||
branches:
|
||||
- '*'
|
||||
|
||||
schedule:
|
||||
- cron: '0 7 * * 2' # every tuesday at 7:00 https://crontab.guru/#0_7_*_*_1
|
||||
jobs:
|
||||
base:
|
||||
name: base
|
||||
@ -25,7 +26,7 @@ jobs:
|
||||
- name: archive base
|
||||
run: |
|
||||
mkdir -p cache
|
||||
docker save -o ./cache/base.tar dockcross/base:latest
|
||||
docker save -o ./cache/base.tar bensuperpc/base:latest
|
||||
- name: save base
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
@ -36,7 +37,7 @@ jobs:
|
||||
if: github.ref == 'refs/heads/master'
|
||||
run: |
|
||||
docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }}
|
||||
docker image push dockcross/base
|
||||
docker image push bensuperpc/base
|
||||
|
||||
image:
|
||||
name: ${{ matrix.arch_name }}
|
||||
@ -64,7 +65,7 @@ jobs:
|
||||
if: github.ref == 'refs/heads/master'
|
||||
run: |
|
||||
docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }}
|
||||
docker image push dockcross/${{ matrix.arch_name }}
|
||||
docker image push bensuperpc/${{ matrix.arch_name }}
|
||||
# Docker images need to remove after deploy or tests, not enough memory to build all images on github action (14 GB of SSD)
|
||||
- name: clean
|
||||
run: docker image rm -f dockcross/${{ matrix.arch_name }}
|
||||
run: docker image rm -f bensuperpc/${{ matrix.arch_name }}
|
||||
|
@ -66,11 +66,11 @@ cd "${CTNG}"
|
||||
|
||||
# Download and install the "crosstool-ng" source.
|
||||
# crosstool-ng master 2021-05-12
|
||||
COMMIT=f9716e8b9042eb14de85320987300aab99300df5
|
||||
#COMMIT=f9716e8b9042eb14de85320987300aab99300df5
|
||||
|
||||
git clone https://github.com/crosstool-ng/crosstool-ng.git
|
||||
cd "crosstool-ng"
|
||||
git checkout ${COMMIT}
|
||||
#git checkout ${COMMIT}
|
||||
|
||||
# Bootstrap and install the tool.
|
||||
BOOTSTRAP_PREFIX="${CTNG}/prefix"
|
||||
|
Loading…
Reference in New Issue
Block a user