diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a694e01..749c7c9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,44 +7,6 @@ env: GITHUB_TOKEN: ${{ github.token }} jobs: - clr-installer-ci: - if: (github.event_name == 'create' && github.event.ref_type == 'tag') - name: Release - strategy: - fail-fast: false - runs-on: ubuntu-latest - steps: - - name: Delete unused tools folder - run: rm -rf /opt/hostedtoolcache - - name: Code Checkout - uses: actions/checkout@v4 - - name: Login to GitHub Container Registry - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - name: Build and Push - run: ./build-and-push-images.sh ${{ github.event.ref }} clr-installer-ci - mixer-ci: - if: (github.event_name == 'create' && github.event.ref_type == 'tag') - name: Release - strategy: - fail-fast: false - runs-on: ubuntu-latest - steps: - - name: Delete unused tools folder - run: rm -rf /opt/hostedtoolcache - - name: Code Checkout - uses: actions/checkout@v4 - - name: Login to GitHub Container Registry - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - name: Build and Push - run: ./build-and-push-images.sh ${{ github.event.ref }} mixer-ci release: if: (github.event_name == 'create' && github.event.ref_type == 'tag') name: Release diff --git a/build-and-push-images.sh b/build-and-push-images.sh index ec0e194..dcfda80 100755 --- a/build-and-push-images.sh +++ b/build-and-push-images.sh @@ -49,10 +49,4 @@ main() { build_and_push_image tesseract-ocr "${ver}" } -if [ "$2" == "clr-installer-ci" ]; then - build_and_push_image clr-installer-ci "$1" -elif [ "$2" == "mixer-ci" ]; then - build_and_push_image mixer-ci "$1" -else - main $1 -fi +main $1