1- ---
21# *******************************************************************************
32# Copyright (c) 2026 Contributors to the Eclipse Foundation
43#
1211# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation
1312# SPDX-License-Identifier: Apache-2.0
1413# *******************************************************************************
15-
1614name : Validate DevContainer
1715description : This workflow is checking that updates do not break stuff. If on main branch, publish to "latest" tag.
1816on :
1917 pull_request :
2018 push :
2119 branches :
2220 - main
23-
2421concurrency :
2522 group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
2623 cancel-in-progress : true
27-
2824jobs :
2925 build :
3026 strategy :
@@ -37,26 +33,22 @@ jobs:
3733 - os : arm64
3834 name : DevContainer (arm64)
3935 runner : ubuntu-24.04-arm
40-
4136 name : ${{ matrix.name }}
4237 runs-on : ${{ matrix.runner }}
4338 permissions :
4439 contents : read
4540 packages : write
4641 id-token : write
47-
4842 steps :
4943 - uses : eclipse-score/more-disk-space@v1
5044 - name : Checkout (GitHub)
5145 uses : actions/checkout@v6
52-
5346 - name : Login to GitHub Container Registry
5447 uses : docker/login-action@v3
5548 with :
5649 registry : ghcr.io
5750 username : ${{ github.actor }}
5851 password : ${{ secrets.GITHUB_TOKEN }}
59-
6052 # Use .devcontainer from THIS repo for building and testing
6153 - name : Check, Build, Test, Publish
6254 uses : devcontainers/ci@v0.3
8779 echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
8880 ./scripts/publish.sh --${{ matrix.os }} "main"
8981 fi
90-
9182 merge :
9283 name : Merge Labels (main only)
9384 needs : [build]
@@ -97,19 +88,16 @@ jobs:
9788 contents : read
9889 packages : write
9990 id-token : write
100-
10191 steps :
10292 - uses : eclipse-score/more-disk-space@v1
10393 - name : Checkout (GitHub)
10494 uses : actions/checkout@v6
105-
10695 - name : Login to GitHub Container Registry
10796 uses : docker/login-action@v3
10897 with :
10998 registry : ghcr.io
11099 username : ${{ github.actor }}
111100 password : ${{ secrets.GITHUB_TOKEN }}
112-
113101 # Use .devcontainer from THIS repo for building and testing
114102 - name : Merge
115103 uses : devcontainers/ci@v0.3
0 commit comments