Skip to content

Commit

Permalink
Only build docker image for galaxyproject repo
Browse files Browse the repository at this point in the history
limit concurrency and only build for release and anvil branches.
  • Loading branch information
mvdbeek committed Nov 1, 2021
1 parent 46d10df commit aa7b10e
Showing 1 changed file with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
name: Build Image
on: push
name: Build Container Image
on:
push:
branches:
- 'release*'
- anvil
concurrency:
group: docker-build-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Build image
build:
name: Build container image
runs-on: ubuntu-latest
if: github.repository_owner == 'galaxyproject'
steps:
- uses: actions/checkout@v2
# https://stackoverflow.com/questions/59810838/how-to-get-the-short-sha-for-the-github-workflow
Expand Down

0 comments on commit aa7b10e

Please sign in to comment.