forked from radius-project/radius
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 1.12 KB
/
devcontainer-feature-release.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
name: "Release dev container feature"
on:
workflow_dispatch:
jobs:
call-workflow-test:
uses: ./.github/workflows/devcontainer-feature-test.yaml
deploy:
needs:
- call-workflow-test
if: ${{ github.ref == 'refs/heads/main' && github.repository == 'radius-project/radius' }}
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
packages: write
steps:
- uses: actions/checkout@v4
- name: "Publish Features"
uses: devcontainers/action@v1
with:
publish-features: "true"
base-path-to-features: "./deploy/devcontainer-feature/src"
generate-docs: "false"
# disable validation due to used preview feature
disable-schema-validation: "true"
# We handle tagging ourselves
disable-repo-tagging: "true"
# We don't want to include the repo name, being consistent without
# examples at https://containers.dev/collections
features-namespace: "radius-project/devcontainer-features"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}