feat!: run container as builtin nobody user by default #110
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
name: Release on Merge | |
concurrency: | |
group: container-release | |
cancel-in-progress: false | |
on: | |
push: | |
branches: ["main"] | |
paths: | |
- "apps/**" | |
- ".github/scripts/templates/**" | |
- "!apps/**/metadata.json" | |
- "!apps/**/metadata.yaml" | |
- "!apps/**/README.md" | |
jobs: | |
simple-checks: | |
uses: onedr0p/containers/.github/workflows/simple-checks.yaml@main | |
get-changed-images: | |
needs: ["simple-checks"] | |
uses: onedr0p/containers/.github/workflows/get-changed-images.yaml@main | |
build-images: | |
needs: ["simple-checks", "get-changed-images"] | |
if: ${{ needs.get-changed-images.outputs.addedOrModified == 'true' }} | |
uses: onedr0p/containers/.github/workflows/build-images.yaml@main | |
secrets: inherit | |
with: | |
appsToBuild: "${{ needs.get-changed-images.outputs.addedOrModifiedImages }}" | |
pushImages: true | |
sendNotifications: true | |
render-readme: | |
name: Render Readme | |
needs: build-images | |
if: ${{ always() && needs.build-images.result != 'failure' }} | |
uses: ./.github/workflows/render-readme.yaml | |
secrets: inherit |