Skip to content

Bump cross-spawn from 7.0.3 to 7.0.6 #71

Bump cross-spawn from 7.0.3 to 7.0.6

Bump cross-spawn from 7.0.3 to 7.0.6 #71

Workflow file for this run

name: Build
on:
push:
branches: ['master']
pull_request:
branches: ['master']
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v3
if: ${{ github.ref == 'refs/heads/master' }}
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
push: ${{ github.ref == 'refs/heads/master' }}
tags: benscobie/student-loan-repayment-calculator:latest
context: .
file: 'docker/Dockerfile.linux.amd64'
build-args: |
NEXT_PUBLIC_SENTRY_DSN=${{ vars.NEXT_PUBLIC_SENTRY_DSN }}
secrets: |
SENTRY_AUTH_TOKEN=${{ github.event_name == 'push' && secrets.SENTRY_AUTH_TOKEN || '' }}