Commit 7d14abb 1 parent 211624b commit 7d14abb Copy full SHA for 7d14abb
File tree 1 file changed +10
-9
lines changed
1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 1
1
name : Preview Image
2
2
on :
3
- push :
4
- tags :
5
- - ' *-dev'
3
+ workflow_run :
4
+ workflows :
5
+ - Tests
6
+ types :
7
+ - completed
8
+ branches :
9
+ - master
6
10
workflow_dispatch :
7
11
inputs :
8
12
dockerRepository :
45
49
matrix :
46
50
arch :
47
51
- amd64
48
- - arm64
49
52
include :
50
53
- arch : amd64
51
54
os : ubuntu-22.04
52
- - arch : arm64
53
- os : ubuntu-22.04-arm
54
55
outputs :
55
56
VERSION_TAG : ${{ steps.version.outputs.VERSION_TAG }}
56
57
needs :
@@ -94,11 +95,11 @@ jobs:
94
95
- name : Build and push preview image to Docker Hub
95
96
id : build-preview
96
97
uses : docker/build-push-action@v4
97
- if : ${{ github.event.inputs.dockerRepository == 'preview' || ! github.event.workflow_run }}
98
+ if : ${{ github.event.inputs.dockerRepository == 'preview' || github.event.workflow_run }}
98
99
with :
99
100
tags : |
100
- ${{ vars.DOCKER_USER }}/redash
101
- ${{ vars.DOCKER_USER }}/preview
101
+ ${{ vars.DOCKER_USER }}/redash:preview
102
+ ${{ vars.DOCKER_USER }}/redash:${{ steps.version.outputs.VERSION_TAG }}
102
103
context : .
103
104
build-args : |
104
105
test_all_deps=true
You can’t perform that action at this time.
0 commit comments