File tree Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -39,24 +39,25 @@ concurrency:
39
39
jobs :
40
40
build-and-upload-for-global-ci :
41
41
runs-on : ubuntu-latest
42
+ outputs :
43
+ IMG_NAME : ${{ steps.container.outputs.IMG_NAME }}
42
44
steps :
43
45
- uses : actions/checkout@v4
44
46
45
- - name : save tackle2-ui image
47
+ - id : container
48
+ name : build the tackle2-ui container
49
+ env :
50
+ IMG_NAME : ttl.sh/tackle2-ui-${{ github.sha }}:2h
46
51
run : |
47
- docker build . -t quay.io/konveyor/tackle2-ui:latest
48
- docker save -o /tmp/tackle2-ui.tar quay.io/konveyor/tackle2-ui:latest
49
-
50
- - name : Upload tackle2-ui image as artifact
51
- uses : actions/upload-artifact@v3
52
- with :
53
- name : tackle2-ui
54
- path : /tmp/tackle2-ui.tar
55
- retention-days : 1
52
+ echo "IMG_NAME=${IMG_NAME}" >> "$GITHUB_OUTPUT"
53
+ docker build . -t ${IMG_NAME}
54
+ docker push ${IMG_NAME}
56
55
57
56
run-global-ci :
58
57
needs : build-and-upload-for-global-ci
59
- uses : konveyor/ci/.github/workflows/global-ci.yml@main
58
+ uses : konveyor/ci/.github/workflows/global-ci-bundle .yml@main
60
59
with :
61
- component_name : tackle2-ui
60
+ tackle_ui : ${{ needs.build-and-upload-for-global-ci.outputs.IMG_NAME }}
62
61
run_api_tests : false
62
+ run_ui_tests : true
63
+ ui_test_tags : " @ci"
You can’t perform that action at this time.
0 commit comments