This commit is contained in:
meysamhadeli 2023-01-24 23:32:23 +03:30
parent 0c97513fbd
commit 14e53c94e3
2 changed files with 18 additions and 18 deletions

View File

@ -8,8 +8,8 @@
# This release drafter follows the conventions from https://keepachangelog.com, https://common-changelog.org/ # This release drafter follows the conventions from https://keepachangelog.com, https://common-changelog.org/
# https://www.conventionalcommits.org # https://www.conventionalcommits.org
name-template: 'v$RESOLVED_VERSION' name-template: $(echo $GITHUB_REF | sed 's/refs\/tags\///')
tag-template: 'v$RESOLVED_VERSION' tag-template: $(echo $GITHUB_REF | sed 's/refs\/tags\///')
template: | template: |
## What Changed 👀 ## What Changed 👀
$CHANGES $CHANGES
@ -27,7 +27,7 @@ categories:
- test - test
- title: 👷 CI - title: 👷 CI
labels: labels:
- ci - ci
- title: ♻️ Changes - title: ♻️ Changes
labels: labels:
- changed - changed
@ -66,31 +66,31 @@ autolabeler:
- '/(security)\/.*/' - '/(security)\/.*/'
- label: 'refactor' - label: 'refactor'
branch: branch:
- '/(refactor)\/.*/' - '/(refactor)\/.*/'
- label: 'docs' - label: 'docs'
branch: branch:
- '/(docs)\/.*/' - '/(docs)\/.*/'
- label: 'ci' - label: 'ci'
branch: branch:
- '/(ci)\/.*/' - '/(ci)\/.*/'
- label: 'test' - label: 'test'
branch: branch:
- '/(test)\/.*/' - '/(test)\/.*/'
- label: 'bug' - label: 'bug'
branch: branch:
- '/(fix)\/.*/' - '/(fix)\/.*/'
- label: 'feature' - label: 'feature'
branch: branch:
- '/(feat)\/.*/' - '/(feat)\/.*/'
- label: 'minor' - label: 'minor'
branch: branch:
- '/(feat)\/.*/' - '/(feat)\/.*/'
- label: 'patch' - label: 'patch'
branch: branch:
- '/(fix)\/.*/' - '/(fix)\/.*/'
body: body:
- '/JIRA-[0-9]{1,4}/' - '/JIRA-[0-9]{1,4}/'
change-template: '- $TITLE (#$NUMBER)' change-template: '- $TITLE (#$NUMBER)'
exclude-contributors: exclude-contributors:
- 'meysamhadeli' - 'meysamhadeli'

View File

@ -23,15 +23,15 @@ jobs:
- name: Build image - name: Build image
run: | run: |
docker build -t meysamh66/booking-microservices-flight:latest -f "${{ github.workspace }}/src/Services/Flight/Dockerfile" . docker build -t meysamh66/booking-microservices-flight:$(echo $GITHUB_REF | sed 's/refs\/tags\///') -f "${{ github.workspace }}/src/Services/Flight/Dockerfile" .
docker build -t meysamh66/booking-microservices-identity:latest -f "${{ github.workspace }}/src/Services/Identity/Dockerfile" . docker build -t meysamh66/booking-microservices-identity:$(echo $GITHUB_REF | sed 's/refs\/tags\///') -f "${{ github.workspace }}/src/Services/Identity/Dockerfile" .
docker build -t meysamh66/booking-microservices-passenger:latest -f "${{ github.workspace }}/src/Services/Passenger/Dockerfile" . docker build -t meysamh66/booking-microservices-passenger:$(echo $GITHUB_REF | sed 's/refs\/tags\///') -f "${{ github.workspace }}/src/Services/Passenger/Dockerfile" .
docker build -t meysamh66/booking-microservices-booking:latest -f "${{ github.workspace }}/src/Services/Booking/Dockerfile" . docker build -t meysamh66/booking-microservices-booking:$(echo $GITHUB_REF | sed 's/refs\/tags\///') -f "${{ github.workspace }}/src/Services/Booking/Dockerfile" .
- name: Publish image - name: Publish image
run: | run: |
docker push meysamh66/booking-microservices-flight:latest docker push meysamh66/booking-microservices-flight:$(echo $GITHUB_REF | sed 's/refs\/tags\///')
docker push meysamh66/booking-microservices-identity:latest docker push meysamh66/booking-microservices-identity:$(echo $GITHUB_REF | sed 's/refs\/tags\///')
docker push meysamh66/booking-microservices-passenger:latest docker push meysamh66/booking-microservices-passenger:$(echo $GITHUB_REF | sed 's/refs\/tags\///')
docker push meysamh66/booking-microservices-booking:latest docker push meysamh66/booking-microservices-booking:$(echo $GITHUB_REF | sed 's/refs\/tags\///')