@@ -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) | ||||
@@ -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,4 +1,4 @@ | |||||
FROM i386/debian:buster | |||||
FROM debian:buster | |||||
ENV DEBIAN_FRONTEND noninteractive | ENV DEBIAN_FRONTEND noninteractive | ||||