Skip to content

revert: use node-16 #65

revert: use node-16

revert: use node-16 #65

Workflow file for this run

name: build
on:
push:
jobs:
linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
arch:
- alpine-x64
- alpine-arm64
- focal-x64
- focal-arm64
- focal-armhf
- focal-ppc64le
- centos7-devtoolset8-arm64
- centos7-devtoolset8-x64
steps:
- uses: actions/checkout@v3
- uses: docker/setup-qemu-action@v2
if: matrix.arch == 'centos7-devtoolset8-arm64' || matrix.arch == 'centos7-devtoolset8-ppc64le' || matrix.arch == 'alpine-arm64'
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
with:
install: true
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
context: ${{ matrix.arch }}
file: ${{ matrix.arch }}/Dockerfile
tags: vscodium/vscodium-linux-build-agent:${{ matrix.arch }}
push: ${{ github.ref == 'refs/heads/master' }}