Skip to content

Commit 88a43f2

Browse files
update docker build
1 parent 601d30c commit 88a43f2

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/docker.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
push:
66
branches:
77
- master
8+
- "av*"
89
tags:
910
- "v*"
1011
paths-ignore:
@@ -22,7 +23,7 @@ jobs:
2223
permissions:
2324
packages: write
2425
contents: read
25-
runs-on: oxford
26+
runs-on: ubuntu-20.04
2627
steps:
2728
- name: Check out code
2829
uses: actions/checkout@v4.1.7
@@ -70,7 +71,7 @@ jobs:
7071
uses: docker/metadata-action@v5
7172
with:
7273
images: |
73-
livepeer/go-livepeer
74+
adastravideo/go-livepeer
7475
ghcr.io/${{ github.repository }}
7576
tags: |
7677
type=sha
@@ -98,8 +99,8 @@ jobs:
9899
tags: ${{ steps.meta.outputs.tags }}
99100
file: "docker/Dockerfile"
100101
labels: ${{ steps.meta.outputs.labels }}
101-
cache-from: type=registry,ref=livepeerci/build:cache
102-
cache-to: type=registry,ref=livepeerci/build:cache,mode=max
102+
cache-from: type=registry,ref=adastravideo/build:cache
103+
cache-to: type=registry,ref=adastravideo/build:cache,mode=max
103104

104105
builder:
105106
name: go-livepeer builder docker image generation
@@ -130,7 +131,7 @@ jobs:
130131
id: match-tag
131132
with:
132133
text: ${{ github.ref_name }}
133-
regex: '^(main|master|v[0-9]+\.\d+\.\d+)$'
134+
regex: '^(main|master|v[0-9]+\.\d+\.\d+|av*)$'
134135

135136
- name: Get build tags
136137
id: build-tag
@@ -161,7 +162,7 @@ jobs:
161162
uses: docker/metadata-action@v5
162163
with:
163164
images: |
164-
livepeerci/build
165+
adastravideo/build
165166
ghcr.io/${{ github.repository }}/build
166167
tags: |
167168
type=sha

0 commit comments

Comments
 (0)