Skip to content

Commit

Permalink
Move env later
Browse files Browse the repository at this point in the history
  • Loading branch information
jennyfothergill authored May 3, 2024
1 parent 7b35172 commit 7ee4915
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: build

env:
REGISTRY: ghcr.io
IMAGE_NAME: cmelab/grits
DOCKERFILE: containers/dockerfile_cpu

on:
push:
branches: [ main ]
# Run when container or environment is changed
paths:
- ${{ env.DOCKERFILE }}
- containers/dockerfile_cpu
# Allows workflow to be manually triggered
workflow_dispatch:

env:
REGISTRY: ghcr.io
IMAGE_NAME: cmelab/grits
DOCKERFILE: containers/dockerfile_cpu

jobs:
build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 7ee4915

Please sign in to comment.