Skip to content

Bump @types/react from 18.2.45 to 18.2.48 (#150) #618

Bump @types/react from 18.2.45 to 18.2.48 (#150)

Bump @types/react from 18.2.45 to 18.2.48 (#150) #618

Workflow file for this run

name: CI
on: [push]
env:
NODE_VERSION: 18
jobs:
linting:
name: Linting
runs-on: ubuntu-latest
steps:
- name: Install NodeJS
uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
- name: Code Checkout
uses: actions/checkout@v2
- name: Install Dependencies
run: npm install
- name: Code Linting
run: npm run lint
build:
name: Build
if: github.ref == 'refs/heads/main' && success()
needs: linting
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Login Github Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: scrumlr.io - Landing Page - Build
id: meta-landing-page
uses: docker/metadata-action@v4
with:
images: |
ghcr.io/inovex/scrumlr.io-landing-page/image
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=raw,value=latest
type=sha,prefix=sha-,format=short
labels: |
[email protected]
org.opencontainers.image.url=https://github.com/inovex/scrumlr.io/pkgs/container/scrumlr.io-landing-page%2Fimage
org.opencontainers.image.source=https://github.com/inovex/scrumlr.io-landing-page
org.opencontainers.image.vendor=inovex
org.opencontainers.image.licenses=MIT
org.opencontainers.image.title=scrumlr.io - Landing Page
org.opencontainers.image.description=The landing page of scrumlr.io
- name: Set up Docker buildx
uses: docker/setup-buildx-action@v2
- name: Push landing page image
id: push-landing-page
uses: docker/build-push-action@v4
with:
push: true
tags: ${{ steps.meta-landing-page.outputs.tags }}
labels: ${{ steps.meta-landing-page.outputs.labels }}
build-args: |
DIRECTUS_URL=${{ secrets.DIRECTUS_URL }}
DIRECTUS_TOKEN=${{ secrets.DIRECTUS_TOKEN }}
PUBLIC_SCRUMLR_SERVER_URL="https://development.scrumlr.fra.ics.inovex.io/api"