🐛 adding discovery label to be used in discovery process (#51) #50
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Global CI | |
on: | |
push: | |
branches: | |
- main | |
- 'release-*' | |
tags: | |
- 'v*' | |
pull_request: | |
branches: | |
- main | |
- 'release-*' | |
jobs: | |
build-hub: | |
name: Build tackle2-hub | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
repository: konveyor/tackle2-hub | |
ref: ${{ github.event_name == 'push' && github.ref || github.base_ref }} | |
path: tackle2-hub | |
- uses: actions/checkout@v3 | |
with: | |
path: tackle2-hub/tackle2-seed | |
- name: Build hub and save image | |
working-directory: tackle2-hub | |
run: | | |
IMG=quay.io/konveyor/tackle2-hub:latest make podman-build | |
podman save -o /tmp/tackle2-hub.tar quay.io/konveyor/tackle2-hub:latest | |
- name: Upload image as artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: tackle2-hub | |
path: /tmp/tackle2-hub.tar | |
retention-days: 1 | |
e2e: | |
needs: build-hub | |
uses: konveyor/ci/.github/workflows/global-ci.yml@main | |
with: | |
component_name: tackle2-hub |