Skip to content

Build devcontainer

Build devcontainer #1

on:
push:
branches: [ master ]
concurrency:
group: build-devcontainer
cancel-in-progress: true
jobs:
build-devcontainer:
runs-on: ubuntu-latest
strategy:
matrix:
registry:
- registry.cn-hangzhou.aliyuncs.com
steps:
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
registry: ${{ matrix.registry }}
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build dev container image
uses: devcontainers/ci@v0.3
with:
imageName: ${{ matrix.registry }}/xingrz/devcontainer-hifi4
cacheFrom: ${{ matrix.registry }}/xingrz/devcontainer-hifi4
imageTag: latest,2021.7
push: true