Add forgot password and reset password pages #29
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
name: release | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
packages: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
show-progress: 'false' | |
- name: Test | |
run: ./run-docker-compose-test.sh | |
- name: Login to GHCR | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Generate version number | |
id: version | |
uses: anothrNick/github-tag-action@1.67.0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
DEFAULT_BUMP: patch | |
- name: Publish to GHCR | |
env: | |
ORIGINAL: microsaas-web | |
IMAGE: microsaas | |
OWNER: peterkneale | |
REPO: microsaas | |
VERSION: ${{ steps.version.outputs.tag }} | |
run: | | |
docker tag $ORIGINAL ghcr.io/$OWNER/$REPO/$IMAGE:$VERSION | |
docker tag $ORIGINAL ghcr.io/$OWNER/$REPO/$IMAGE:latest | |
docker push ghcr.io/$OWNER/$REPO/$IMAGE:$VERSION | |
docker push ghcr.io/$OWNER/$REPO/$IMAGE:latest | |
- name: Create github release | |
uses: ncipollo/release-action@v1 | |
with: | |
tag: ${{ steps.version.outputs.tag }} | |
generateReleaseNotes: true |