Skip to content

Commit

Permalink
Update publish workflow to use devcontainers/action (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
toms74209200 authored Feb 24, 2024
2 parents ccce2d5 + 7cba6ca commit 5b40c45
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/publish-feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,20 @@ concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
test-feature:
uses: ./.github/workflows/test-feature.yml
publish-feature:
needs:
- test-feature
permissions:
contents: read
packages: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: docker/login-action@v2
- uses: devcontainers/action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: devcontainers-community/publish-feature@v1
publish-features: "true"
base-path-to-features: "./src"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5b40c45

Please sign in to comment.