features/.github/workflows/release.yaml

21 lines
556 B
YAML
Raw Normal View History

2022-06-03 17:54:31 +03:00
name: "(Release) Release dev container features (v2)"
2022-06-03 17:49:26 +03:00
on:
workflow_dispatch:
push:
branches:
- main
2022-06-03 17:49:26 +03:00
jobs:
deploy:
if: ${{ github.ref == 'refs/heads/main' }}
2022-06-03 17:49:26 +03:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: "Publish features to OCI"
uses: ./.github/devcontainers-action # TODO: Once 'devcontainers/action' is published, use that.
2022-06-03 17:49:26 +03:00
with:
publish-features: "true"
base-path-to-features: "./src"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}