1
0
mirror of synced 2026-01-07 00:01:39 -05:00
Files
docs/.github/workflows/build-docker-image.yml
James M. Greene 0eec258c01 Fix git branch inconsistencies for Actions (#18309)
* Update workflows to pass appropriate branch name for pull_request events

* Update Docker building workflow to check appropriate branch name for pull_request events

* Update Windows testing workflow for consistency with non-Windows testing workflow

* Reorder if conditional check

* Update workflow comment
2021-03-18 14:31:31 -05:00

25 lines
502 B
YAML

# Make sure the Docker container still builds
name: Build Docker image
on:
push:
branches:
- main
pull_request:
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@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- name: Build the container
run: docker build .