Skip to content

Commit eb169ba

Browse files
committed
chore: build images from main as latest
1 parent 69f2b89 commit eb169ba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/redhat-distro-container-build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ name: Build and Publish Redhat Distribution Container for Multi-Arch
33
on:
44
pull_request:
55
branches:
6+
- main
67
- rhoai-v*
78
types:
89
- opened
910
- synchronize
1011
push:
1112
branches:
13+
- main
1214
- rhoai-v*
1315

1416
env:
@@ -52,4 +54,4 @@ jobs:
5254
file: redhat-distribution/Containerfile
5355
platforms: ${{ matrix.platform }}
5456
push: ${{ github.event_name == 'push' }}
55-
tags: ${{ env.IMAGE_NAME }}
57+
tags: ${{ env.IMAGE_NAME }}:${{ github.sha }},${{ env.IMAGE_NAME }}:latest

0 commit comments

Comments
 (0)