Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.5 to 2.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](1e204e9a92...ec3a7ce113)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
36 lines
902 B
YAML
36 lines
902 B
YAML
name: Build Docker image
|
|
|
|
# **What it does**: This builds our Docker container.
|
|
# **Why we have it**: We don't use the Docker container internally, but other teams depend on our Docker container.
|
|
# **Who does it impact**: Enterprise customers.
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
paths:
|
|
- .npmrc
|
|
- Dockerfile
|
|
- package.json
|
|
- package-lock.json
|
|
- next.config.js
|
|
- tsconfig.json
|
|
- next-env.d.ts
|
|
- .github/workflows/build-docker-image.yml
|
|
|
|
env:
|
|
CI: true
|
|
|
|
jobs:
|
|
build:
|
|
# Do not run this job for translations PRs
|
|
if: ${{ github.head_ref != 'translations' && github.ref != 'refs/heads/translations' }}
|
|
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repo
|
|
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
|
|
- name: Build the container
|
|
run: docker build --target production .
|