Skip to content

Commit 4e0eb0f

Browse files
committed
Build bionic-arm32v7 image
1 parent ae68a63 commit 4e0eb0f

File tree

2 files changed

+45
-1
lines changed

2 files changed

+45
-1
lines changed

.github/workflows/build.yml

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,14 @@ on:
88
type: boolean
99
tag:
1010
description: "Github release tag"
11+
dockerRelease:
12+
description: "Create Dockerhub Releasee"
13+
type: boolean
1114

1215
jobs:
1316
generate_toolchain:
1417
strategy:
15-
fail-fast: false
18+
fail-fast: true
1619
matrix:
1720
include:
1821
- arch: amd64
@@ -75,3 +78,41 @@ jobs:
7578
repository: ${{ github.repository_owner }}/vscode-linux-build-agent
7679
tag_name: ${{ inputs.tag }}
7780
files: upload/*
81+
82+
linux:
83+
runs-on: ubuntu-latest
84+
strategy:
85+
fail-fast: false
86+
matrix:
87+
arch: [bionic-arm32v7, centos7-devtoolset8-x64, centos7-devtoolset8-arm64]
88+
include:
89+
- arch: centos7-devtoolset8-arm64
90+
qemu: true
91+
- arch: bionic-arm32v7
92+
qemu: true
93+
94+
steps:
95+
- uses: actions/checkout@v3
96+
97+
- name: Set up QEMU
98+
uses: docker/setup-qemu-action@v2
99+
if: matrix.qemu == true
100+
101+
- name: Set up Docker Buildx
102+
uses: docker/setup-buildx-action@v2
103+
with:
104+
install: true
105+
106+
- name: Login to DockerHub
107+
uses: docker/login-action@v2
108+
with:
109+
username: ${{ secrets.DOCKERHUB_USERNAME }}
110+
password: ${{ secrets.DOCKERHUB_TOKEN }}
111+
112+
- name: Build and push
113+
uses: docker/build-push-action@v4
114+
with:
115+
context: ${{ matrix.arch }}
116+
file: ${{ matrix.arch }}/Dockerfile
117+
tags: gitpod/openvscode-server-linux-build-agent:${{ matrix.arch }}
118+
push: ${{ inputs.dockerRelease == true }}

archived/bionic-x64-v1/Dockerfile_Unused

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ FROM ${REPO}:${TAG}
44

55
ARG DEBIAN_FRONTEND=noninteractive
66

7+
# https://github.com/moby/moby/issues/27988#issuecomment-462809153
8+
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
9+
710
# Github uses uid 1001 and gid 121
811
RUN groupadd --gid 121 builduser \
912
&& useradd --uid 1001 --gid builduser --shell /bin/bash --create-home builduser \

0 commit comments

Comments
 (0)