Browse Source

add arm host support

pull/57/head
Luigi Cruz 3 years ago
parent
commit
e06e4d6432
3 changed files with 7 additions and 7 deletions
  1. +3
    -3
      .github/workflows/release.yml
  2. +3
    -3
      .github/workflows/validate.yml
  3. +1
    -1
      Dockerfile

+ 3
- 3
.github/workflows/release.yml View File

@@ -7,7 +7,7 @@ name: Build & Deploy Image
jobs: jobs:
build: build:
name: Build & Release Image name: Build & Release Image
runs-on: self-hosted
runs-on: odin
timeout-minutes: 2880 timeout-minutes: 2880
env: env:
working-directory: ./ working-directory: ./
@@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Clean docker - name: Clean docker
id: clean_docker id: clean_docker
working-directory: ${{ env.working-directory }}
working-directory: ${{ env.working-directory }}
run: | run: |
docker system prune -af docker system prune -af
docker system prune --volumes -f docker system prune --volumes -f
@@ -25,7 +25,7 @@ jobs:
docker container rm $(docker container ls -aq) || true docker container rm $(docker container ls -aq) || true
- name: Build project - name: Build project
id: builder id: builder
working-directory: ${{ env.working-directory }}
working-directory: ${{ env.working-directory }}
run: | run: |
bash build-docker.sh bash build-docker.sh
echo ::set-output name=filename::$(ls deploy/*.img.xz | xargs -n 1 basename) echo ::set-output name=filename::$(ls deploy/*.img.xz | xargs -n 1 basename)


+ 3
- 3
.github/workflows/validate.yml View File

@@ -5,7 +5,7 @@ name: Build & Validate Image
jobs: jobs:
build: build:
name: Build & Validate Image name: Build & Validate Image
runs-on: self-hosted
runs-on: odin
timeout-minutes: 2880 timeout-minutes: 2880
env: env:
working-directory: ./ working-directory: ./
@@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Clean docker - name: Clean docker
id: clean_docker id: clean_docker
working-directory: ${{ env.working-directory }}
working-directory: ${{ env.working-directory }}
run: | run: |
docker system prune -af docker system prune -af
docker system prune --volumes -f docker system prune --volumes -f
@@ -23,7 +23,7 @@ jobs:
docker container rm $(docker container ls -aq) || true docker container rm $(docker container ls -aq) || true
- name: Build project - name: Build project
id: builder id: builder
working-directory: ${{ env.working-directory }}
working-directory: ${{ env.working-directory }}
run: | run: |
bash build-docker.sh bash build-docker.sh
echo ::set-output name=filename::$(ls deploy/*.img.xz | xargs -n 1 basename) echo ::set-output name=filename::$(ls deploy/*.img.xz | xargs -n 1 basename)


+ 1
- 1
Dockerfile View File

@@ -1,4 +1,4 @@
FROM i386/debian:buster
FROM debian:buster


ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive




Loading…
Cancel
Save