feat: better base image #101
This file contains hidden or 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: Semantic release | |
| on: | |
| push: | |
| branches: | |
| - master | |
| concurrency: | |
| group: release | |
| cancel-in-progress: true | |
| jobs: | |
| release: | |
| name: Release | |
| container: | |
| image: ghcr.io/aldor007/mort-base:latest | |
| credentials: | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GHR_TOKEN }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.25' | |
| - name: Install | |
| run: go mod download && git config --global --add safe.directory '*' | |
| - name: Build | |
| run: go build -v ./... | |
| - name: Test | |
| run: ./scripts/unit-travis.sh | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "18" | |
| - run: npm install && npx semantic-release | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |