diff --git a/.github/workflows/ci-global.yml b/.github/workflows/ci-global.yml index 3497b0acc..baa10aabb 100644 --- a/.github/workflows/ci-global.yml +++ b/.github/workflows/ci-global.yml @@ -39,24 +39,24 @@ concurrency: jobs: build-and-upload-for-global-ci: runs-on: ubuntu-latest + outputs: + IMG_NAME: ${{ steps.container.outputs.IMG_NAME }} steps: - uses: actions/checkout@v4 - - name: save tackle2-ui image + - id: container + name: build the tackle2-ui container for ${{ github.sha }} + env: + IMG_NAME: ttl.sh/tackle2-ui-${{ github.sha }}:2h run: | - docker build . -t quay.io/konveyor/tackle2-ui:latest - docker save -o /tmp/tackle2-ui.tar quay.io/konveyor/tackle2-ui:latest - - - name: Upload tackle2-ui image as artifact - uses: actions/upload-artifact@v3 - with: - name: tackle2-ui - path: /tmp/tackle2-ui.tar - retention-days: 1 + echo "IMG_NAME=${IMG_NAME}" >> "$GITHUB_OUTPUT" + docker build . -t $IMG_NAME + docker push run-global-ci: needs: build-and-upload-for-global-ci - uses: konveyor/ci/.github/workflows/global-ci.yml@main + uses: konveyor/ci/.github/workflows/global-ci-bundle.yml@main with: - component_name: tackle2-ui + tackle2-ui: ${{ needs.build-and-upload-for-global-ci.outputs.IMG_NAME }} run_api_tests: false + run_ui_tests: true