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:
|
2022-08-17 22:48:38 +03:00
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
2022-06-03 17:49:26 +03:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
deploy:
|
2022-08-05 22:22:30 +03:00
|
|
|
if: ${{ github.ref == 'refs/heads/main' }}
|
2022-06-03 17:49:26 +03:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2022-08-17 21:36:45 +03:00
|
|
|
|
2022-08-05 22:22:30 +03:00
|
|
|
- name: "Publish features to OCI"
|
2022-07-18 20:40:36 +03:00
|
|
|
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"
|
2022-08-05 22:22:30 +03:00
|
|
|
env:
|
2022-08-17 21:36:45 +03:00
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|