aboutsummaryrefslogblamecommitdiff
path: root/.github/workflows/release.yaml
blob: 8eec76784562ad25467cc2181778dbf142625639 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                     
   
                    


             


         
                                              


                                 
      
                                       
                                                                                                        


                                        
            
                                                  
name: "(Release) Release dev container features (v2)"
on:
  workflow_dispatch:
  push:
    branches:
      - main

jobs:
  deploy:
    if: ${{ github.ref == 'refs/heads/main' }}
    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.
        with:
          publish-features: "true"
          base-path-to-features: "./src"
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}