commit 1ca0e98f558cdad790be5fdc6c18e716678ab580 Author: Nicolai Ort Date: Sat Mar 22 22:46:23 2025 +0100 init: Added first templates diff --git a/buildx/latest.yaml b/buildx/latest.yaml new file mode 100644 index 0000000..eee51f3 --- /dev/null +++ b/buildx/latest.yaml @@ -0,0 +1,27 @@ +name: Build Latest images +on: + push: + branches: + - main + +jobs: + build-container: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Login to registry + uses: docker/login-action@v3 + with: + registry: registry.odit.services + username: ${{ vars.REGISTRY_USERNAME }} + password: ${{ secrets.REGISTRY_PASSWORD }} + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Build and push + uses: docker/build-push-action@v6 + with: + push: true + tags: | + :latest + platforms: linux/amd64,linux/arm64 diff --git a/buildx/tag.yaml b/buildx/tag.yaml new file mode 100644 index 0000000..c267ba7 --- /dev/null +++ b/buildx/tag.yaml @@ -0,0 +1,27 @@ +name: Build release images +on: + push: + tags: + - "*.*.*" + +jobs: + build-container: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Login to registry + uses: docker/login-action@v3 + with: + registry: registry.odit.services + username: ${{ vars.REGISTRY_USERNAME }} + password: ${{ secrets.REGISTRY_PASSWORD }} + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Build and push + uses: docker/build-push-action@v6 + with: + push: true + tags: | + :${{ github.ref_name }} + platforms: linux/amd64,linux/arm64 diff --git a/node/license-exporter.yaml b/node/license-exporter.yaml new file mode 100644 index 0000000..475361e --- /dev/null +++ b/node/license-exporter.yaml @@ -0,0 +1,16 @@ +name: Build generate licences +on: + push: + branches: + - dev + +jobs: + build-container: + runs-on: ubuntu-latest + steps: + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: 19 + - run: npm i -g pnpm@8 && pnpm i + - run: pnpm licenses:export \ No newline at end of file