chore(deps): remove mailgun referencess #256
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: Build / Push Docker | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| on: | |
| workflow_dispatch: | |
| push: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| step: ['build', 'test'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: .nvmrc | |
| cache: 'yarn' | |
| # Build Typescript | |
| - run: yarn --immutable --immutable-cache | |
| - run: yarn | |
| - run: yarn ${{ matrix.step }} | |
| push: | |
| needs: [build] | |
| if: ${{ github.ref == 'refs/heads/main' }} | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write | |
| contents: read | |
| checks: write | |
| packages: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # Build and push container image to GCR (only on main branch) | |
| - name: Log in to the GitHub Container Registry | |
| uses: docker/login-action@v1 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build and push container image to GitHub Container Registry | |
| uses: docker/build-push-action@v4 | |
| with: | |
| push: true | |
| tags: | | |
| ghcr.io/dtfiedler/${{ github.event.repository.name }}:latest | |
| ghcr.io/dtfiedler/${{ github.event.repository.name }}:${{ github.sha }} |