-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (35 loc) · 1.09 KB
/
build-noble-base.yaml
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
41
42
43
name: Build and Push Noble Full Base
on:
push:
branches:
- 'main'
- 'master'
schedule:
- cron: '0 0 */3 * *' # Runs every 3 days at midnight UTC
jobs:
build-noble-full-base:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@main
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@master
- name: Login to Github Packages
uses: docker/login-action@master
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GH_TOKEN }}
- name: Set up Node.js
uses: actions/setup-node@main
with:
node-version: '20'
- name: Build noble-full-base devcontainer
run: |
npm install -g @devcontainers/cli
- name: Build noble-full-base devcontainer
run: |
devcontainer build --image-name ghcr.io/jvrck/noble-full-base --platform "linux/amd64" --push false --workspace-folder noble-full-base
- name: Push noble-full Docker image
run: |
docker push ghcr.io/jvrck/noble-full-base