Skip to content

fix dashboard counts #3

fix dashboard counts

fix dashboard counts #3

Workflow file for this run

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 }}