-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (31 loc) · 991 Bytes
/
devcontainer.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: DevContainer
on:
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:
jobs:
build:
name: Build and cache devcontainer image
runs-on: ubuntu-latest-8-cores
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Login to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# - name: Set up QEMU for multi-architecture builds
# uses: docker/setup-qemu-action@v3
# - name: Setup Docker buildx for multi-architecture builds
# uses: docker/setup-buildx-action@v3
# with:
# use: true
- name: Pre-build dev container image
uses: devcontainers/[email protected]
with:
imageName: ghcr.io/nodlecode/devcontainer-rollup
cacheFrom: ghcr.io/nodlecode/devcontainer-rollup
push: always
# platform: linux/amd64,linux/arm64