Skip to content

Commit

Permalink
.github/ci: Build images on every branch (#117)
Browse files Browse the repository at this point in the history
* .github/ci: Build images on every branch

Use the always-latest-on-branch input to the gh action
so we only publish `latest` tags on the specified branches.

While `latest` will only be pushed on those branches, we
can still test the generated images from any branch since
I removed the action filter to only run on master/mapic branhc.

* .github: Stop building latest on every mapic build
  • Loading branch information
victorges authored Nov 23, 2021
1 parent 83a8c25 commit 59ae0b3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 33 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
name: Docker Image CI

on:
push:
branches:
- master
on: push

jobs:

build:

runs-on: ubuntu-latest

steps:
Expand All @@ -23,7 +17,7 @@ jobs:
id: tags
uses: livepeer/action-gh-release-tags@v0
with:
force-latest: true
always-latest-on-branch: master

- name: Build the Docker image
run: |
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/load-tester-dockerimage.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
name: Load Tester Docker Image CI

on:
push:
branches:
- master
on: push

jobs:

build:

runs-on: ubuntu-latest

steps:
Expand All @@ -23,7 +17,7 @@ jobs:
id: tags
uses: livepeer/action-gh-release-tags@v0
with:
force-latest: true
always-latest-on-branch: master

- name: Build the Docker image
run: |
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/mist-api-connector-dockerimage.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
name: Mist API Connector Docker Image CI

on:
push:
branches:
- mist-api-connector
on: push

jobs:

build:

runs-on: ubuntu-latest

steps:
Expand All @@ -22,8 +16,6 @@ jobs:
- name: Tags
id: tags
uses: livepeer/action-gh-release-tags@v0
with:
force-latest: true

- name: Build the Docker image
run: |
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/record-tester-dockerimage.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
name: Record Tester Docker Image CI

on:
push:
branches:
- master
on: push

jobs:

build:

runs-on: ubuntu-latest

steps:
Expand All @@ -23,7 +17,7 @@ jobs:
id: tags
uses: livepeer/action-gh-release-tags@v0
with:
force-latest: true
always-latest-on-branch: master

- name: Build the Docker image
run: |
Expand Down

0 comments on commit 59ae0b3

Please sign in to comment.