chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.5.0 to 6.9.0 #610
Workflow file for this run
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: ci | |
on: | |
push: | |
branches: | |
- "main" | |
- "develop" | |
tags: | |
- "v*" | |
pull_request: | |
branches: | |
- "main" | |
- "develop" | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v2 | |
if: github.event_name != 'pull_request' | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Docker meta | |
id: meta | |
uses: docker/metadata-action@v4 | |
with: | |
images: ghcr.io/RedGecko/sitrep | |
tags: | | |
# set latest tag for default branch / ordered by priority | |
type=semver,pattern={{version}},prefix=v,priority=920 | |
type=raw,value=stable,enable=${{ github.ref == format('refs/heads/{0}', 'main') }},priority=910 | |
type=raw,value=develop,enable={{is_default_branch}},priority=905 | |
# priority 900 | |
type=semver,pattern={{major}}.{{minor}},prefix=v | |
type=semver,pattern={{major}},prefix=v | |
# priority 700 | |
type=edge,branch=develop | |
# priority 600 | |
type=ref,event=branch | |
type=ref,event=pr,prefix=pr-,enable=true | |
- name: Build and push | |
uses: docker/build-push-action@v3 | |
with: | |
context: . | |
push: ${{ github.event_name != 'pull_request' }} | |
tags: ${{ steps.meta.outputs.tags }} | |
labels: ${{ steps.meta.outputs.labels }} | |
build-args: | | |
VERSION=${{ steps.meta.outputs.version }} | |
GIT_SHA=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }} | |
- name: Docker meta for hasura | |
id: meta-hasura | |
uses: docker/metadata-action@v4 | |
with: | |
images: ghcr.io/RedGecko/sitrep-hasura | |
tags: | | |
# set latest tag for default branch | |
type=edge,branch=develop | |
type=raw,value=stable,enable=${{ github.ref == format('refs/heads/{0}', 'main') }} | |
type=ref,event=branch | |
type=ref,event=pr,prefix=pr-,enable=true,priority=600 | |
type=semver,pattern={{version}},prefix=v,priority=420 | |
type=semver,pattern={{major}}.{{minor}},prefix=v,priority=410 | |
type=semver,pattern={{major}},prefix=v,priority=400 | |
type=sha | |
- name: Build and push | |
uses: docker/build-push-action@v3 | |
with: | |
context: . | |
file: Dockerfile.hasura | |
push: ${{ github.event_name != 'pull_request' }} | |
tags: ${{ steps.meta-hasura.outputs.tags }} | |
labels: ${{ steps.meta-hasura.outputs.labels }} |