From 6b1de249a106f6ea0e42c45543c434782bb90469 Mon Sep 17 00:00:00 2001 From: Mitch Chimwemwe Chanza Date: Mon, 9 Sep 2024 17:11:38 +0000 Subject: [PATCH] [9a88c35] New Docker Trigger Action release --- .github/workflows/release.yml | 12 ++++++++---- CHANGELOG.md | 37 ++++++++++++++++++++++++++++++++++- action.yml | 1 + package.json | 2 +- 4 files changed, 46 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6d8db1c..08fd6f8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,8 +3,14 @@ on: push: tags: - 'v*.*.*' +env: + GH_TOKEN: ${{ secrets.GIT_TOKEN }} + GITHUB_TOKEN: ${{ github.token }} +permissions: + contents: write + id-token: write + pull-requests: write jobs: - create-new-release: name: Create New Release 🎉 runs-on: ubuntu-latest @@ -16,11 +22,9 @@ jobs: - name: Checkout code uses: actions/checkout@v4.1.7 with: - fetch-depth: 0 # Fetch all history for all tags and branches + fetch-depth: 0 - name: Create Release - env: - GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }} run: | gh release create v$(jq -r ".version" package.json) \ --title "v$(jq -r ".version" package.json)" \ diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f59c23..79627af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,42 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. -### 1.0.12 (2024-09-09) +### 1.0.13 (2024-09-09) + + +### Features + +* **auth:** add IUser and Profile types for enhanced user management and role handling in authentication module ([2b481d7](https://github.com/arimmadev/microse/commit/2b481d77b656b778189de67c67b5a603c8baf75b)) +* **auth:** add optional profile array to Roles type for improved user role management and flexibility in the auth module ([c4887b6](https://github.com/arimmadev/microse/commit/c4887b6c7ec3ebca20ef16eb037d6661d2dd759c)) +* **auth:** refactor app controller and service, shift to microservice structure and remove unused types for cleanup ([94ac56d](https://github.com/arimmadev/microse/commit/94ac56d70b5dc04c9e3065a1e3909899fee74904)) +* **auth:** remove initial migration SQL files and update schema.prisma for user management and password store enhancements ([63b5ab6](https://github.com/arimmadev/microse/commit/63b5ab6a6baff713beea47306adbe22dd3f18bd7)) +* **auth:** remove PrismaService and its test file as part of cleanup for unused authentication services ([9f4c99f](https://github.com/arimmadev/microse/commit/9f4c99ffc9b55637affb334b41d6c43b5bbf48fc)) +* **auth:** update Dockerfile and configuration files; clean up .dockerignore and .gitignore while restructuring environment settings ([b662e15](https://github.com/arimmadev/microse/commit/b662e159b5c5a3bfdf2c0edc5b9b4b240658fcda)) +* create Admissions.zip, one.png, three.png and two.png ([84fa83c](https://github.com/arimmadev/microse/commit/84fa83cf91bf34f06bfb5a974a97280f383a9a59)) +* create AOS.tsx ([0a0e1da](https://github.com/arimmadev/microse/commit/0a0e1da50471092967459333a89c99ea458fd967)) +* create app.dto.ts ([152b7d8](https://github.com/arimmadev/microse/commit/152b7d8ad79f0d048533e84768680fa77c9e150e)) +* create AttendanceMoule.tsx and frontends/dashboard/src/components/Dashboard/Attendance/index.ts ([284d23f](https://github.com/arimmadev/microse/commit/284d23fd78315badd8dcb638e75d40108ea89a99)) +* create frontends/dashboard/src/components/Dashboard/StatsCard/index.ts ([25ca5bc](https://github.com/arimmadev/microse/commit/25ca5bcadf88a3d839dd712be8e759d0276a8fb9)) +* create frontends/dashboard/src/components/utils/Animations/index.ts ([f8a9ba2](https://github.com/arimmadev/microse/commit/f8a9ba2a81062fee59d802b0648ce3bdfbb5f652)) +* create frontends/dashboard/src/components/utils/index.ts ([b23ea8b](https://github.com/arimmadev/microse/commit/b23ea8b6bbd1d233e3a15cec142d6f36f7583f56)) +* create logo.png ([abbf256](https://github.com/arimmadev/microse/commit/abbf25614f6fa5f7a88df628b1fe03a2775e09d3)) +* create NavigationData.tsx ([b98628a](https://github.com/arimmadev/microse/commit/b98628adfbada3ab0fb43ce3494dae1123a12184)) +* create NavigationModule.tsx ([8fae23b](https://github.com/arimmadev/microse/commit/8fae23bba2bc8772830a23bf2ff25f080ab6f06a)) +* create saira.ttf and sairait.ttf ([189a490](https://github.com/arimmadev/microse/commit/189a490483eb4eeb9149bca58aac72ee9a492a44)) +* create StatsCard.tsx ([5e54903](https://github.com/arimmadev/microse/commit/5e54903a91a8543de0e2d49b565c07bd3a5aecfb)) +* create tagprune.profile ([745783c](https://github.com/arimmadev/microse/commit/745783c8d5768ac53e1fd2165a6b7d9035b17cae)) +* **gateway:** add initial setup for gateway service with Docker configuration, ESLint, Prettier, and NestJS structure ([1224129](https://github.com/arimmadev/microse/commit/122412981342b85064b33de67c7b8602292c5d85)) +* **messenger:** enhance Docker configuration; update .dockerignore and .gitignore, and adjust package.json scripts for better management ([745f8f9](https://github.com/arimmadev/microse/commit/745f8f98648f8b4dcd7ccbff46d59e6f78ca9383)) +* **messenger:** redesign Notification model; remove old migrations and update schema with new title field and indexing ([912c07b](https://github.com/arimmadev/microse/commit/912c07bc159137b1571c221fea868e4bc7a5119b)) +* **messenger:** refactor AppController and AppService for microservice integration; cleanup and update test cases accordingly ([841fb4a](https://github.com/arimmadev/microse/commit/841fb4a2d1aed03f0320dc773b304b2e7faaca9a)) +* **prisma:** remove unused PrismaService and its associated tests; clean up dead code in the messenger backend ([cd02440](https://github.com/arimmadev/microse/commit/cd02440937791d925d53b720f86e8e04a554bc38)) + + +### Bug Fixes + +* enhance release trigger workflow with upstream push and update package.json description to clarify purpose ([1455ff3](https://github.com/arimmadev/microse/commit/1455ff3169ba3558c7d5a3f54d5240465f5f179e)) +* update package.json description to clarify purpose of release trigger action ([a609599](https://github.com/arimmadev/microse/commit/a609599b5ab89a8bdc5f1699f6502c8cab1d1cf2)) +* update release trigger workflow and action.yml for improved Git push and config clarity ([00e602e](https://github.com/arimmadev/microse/commit/00e602e5a927782596bff8b7159370c61e94af7e)) ### 1.0.1 (2024-09-07) diff --git a/action.yml b/action.yml index aa34174..ba1e5b6 100644 --- a/action.yml +++ b/action.yml @@ -95,4 +95,5 @@ runs: - name: Image digest shell: bash + id: digest run: echo ${{ steps.build-and-push.outputs.digest }} diff --git a/package.json b/package.json index 2990dc5..bb47359 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mitch1009/docker-trigger", - "version": "1.0.12", + "version": "1.0.15", "description": "docker trigger action", "main": "index.js", "scripts": {