31 lines
697 B
YAML
31 lines
697 B
YAML
|
name: Publish devcontainer stuff
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- "main"
|
||
|
paths:
|
||
|
- "devcontainer/**"
|
||
|
- ".github/workflows/devcontainer.yml"
|
||
|
|
||
|
jobs:
|
||
|
publish:
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v4
|
||
|
|
||
|
- name: Log into Registry
|
||
|
uses: docker/login-action@v2
|
||
|
with:
|
||
|
registry: ${{ vars.REGISTRY }}
|
||
|
username: ${{ secrets.REGISTRY_USER }}
|
||
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||
|
|
||
|
- name: Publish features
|
||
|
uses: devcontainers/action@v1
|
||
|
with:
|
||
|
publish-features: "true"
|
||
|
base-path-to-features: "./devcontainer/feature"
|
||
|
oci-registry: ${{ vars.REGISTRY }}
|