Skip to content

chore(deps): update dependency @types/react to v18.3.17 (#591) #338

chore(deps): update dependency @types/react to v18.3.17 (#591)

chore(deps): update dependency @types/react to v18.3.17 (#591) #338

Workflow file for this run

name: Staging
on:
push:
branches: [main]
paths-ignore:
- "**/**.md"
- "docker-compose.yml"
jobs:
test:
if: "!startsWith(github.ref, 'refs/tags/')" # Do not run on tags
uses: ./.github/workflows/testing.yaml
build:
needs: test
runs-on: ubuntu-latest
environment:
name: staging
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Generate image tag
run: echo "IMAGE_TAG=$(echo $GITHUB_REF | sed 's|refs/heads/||')-$(echo $GITHUB_SHA | head -c 7)-$(date +%s)" >> $GITHUB_ENV
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/arm64,linux/amd64
push: true
tags: ghcr.io/${{github.repository}}:${{env.IMAGE_TAG}}
cache-from: type=gha
cache-to: type=gha,mode=max