fix dashboard counts #3
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: Publish v2 containers | |
| on: | |
| push: | |
| branches: | |
| - v2vinext | |
| paths: | |
| - 'app/**' | |
| - '.github/workflows/**' | |
| workflow_dispatch: | |
| env: | |
| IMAGE_NAME: trawlr/trawlr | |
| jobs: | |
| build-and-push: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Write VERSION file | |
| run: echo "beta-${GITHUB_SHA:0:7}" > app/VERSION | |
| - name: Log in to GHCR | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Extract metadata | |
| id: meta | |
| uses: docker/metadata-action@v5 | |
| with: | |
| images: ghcr.io/${{ env.IMAGE_NAME }} | |
| tags: | | |
| type=raw,value=beta | |
| - name: Build and push | |
| uses: docker/build-push-action@v6 | |
| with: | |
| context: ./app | |
| push: true | |
| tags: ${{ steps.meta.outputs.tags }} | |
| labels: ${{ steps.meta.outputs.labels }} |