From 8f41eeca2817ef7dec025f294efe9dec3f588791 Mon Sep 17 00:00:00 2001 From: Vladimir Milosevic Date: Tue, 13 Aug 2024 11:16:58 +0000 Subject: [PATCH] Run docker build --- .github/workflows/docker-build.yml | 5 ++--- .github/workflows/on-pr.yml | 4 ++-- .github/workflows/on-push.yml | 4 ++-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index bfb08d3af..cc15ace07 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -11,16 +11,15 @@ jobs: strategy: fail-fast: false matrix: - image: ["ubuntu-22-04"] build: [ - {runs-on: ubuntu-latest}, + # {runs-on: ubuntu-latest}, {runs-on: self-hosted}, ] runs-on: ${{ matrix.build.runs-on }} container: - image: ghcr.io/${{ github.repository }}/tt-forge-${{ matrix.image }}:latest + image: ghcr.io/${{ github.repository }}/tt-forge-ubuntu-22-04:latest options: --user root steps: diff --git a/.github/workflows/on-pr.yml b/.github/workflows/on-pr.yml index 758fa8f22..e179fb633 100644 --- a/.github/workflows/on-pr.yml +++ b/.github/workflows/on-pr.yml @@ -2,8 +2,8 @@ name: On PR on: workflow_dispatch: - # pull_request: - # branches: [ "main" ] + pull_request: + branches: [ "main" ] jobs: docker-build: diff --git a/.github/workflows/on-push.yml b/.github/workflows/on-push.yml index b72d0bec7..1bb669f77 100644 --- a/.github/workflows/on-push.yml +++ b/.github/workflows/on-push.yml @@ -2,8 +2,8 @@ name: On push on: workflow_dispatch: - # push: - # branches: [ "main" ] + push: + branches: [ "main" ] jobs: docker-build: