diff --git a/.github/workflows/docker_build.yml b/.github/workflows/docker_build.yml index af6cb6d9a..dc90404fc 100644 --- a/.github/workflows/docker_build.yml +++ b/.github/workflows/docker_build.yml @@ -12,7 +12,7 @@ on: jobs: docker: - name: Build and run for sanity check leader and worker docker images + name: Build and run leader and worker docker images for regression check runs-on: ubuntu-latest steps: - name: Checkout @@ -24,7 +24,7 @@ jobs: - name: Run leader docker container run: | - docker run leader:${{ github.ref_name }} --help + docker run --rm leader:${{ github.ref_name }} --help - name: Build worker docker container run: | @@ -32,4 +32,4 @@ jobs: - name: Run worker docker container run: | - docker run worker:${{ github.ref_name }} --help \ No newline at end of file + docker run --rm worker:${{ github.ref_name }} --help \ No newline at end of file diff --git a/.github/workflows/docker_build_push.yml b/.github/workflows/docker_build_push.yml index 6c9c7f20c..716e9ea67 100644 --- a/.github/workflows/docker_build_push.yml +++ b/.github/workflows/docker_build_push.yml @@ -5,9 +5,6 @@ on: branches: [develop, main] release: types: [created] - # TODO to debug build and push, remove before merge - pull_request: - branches: [develop] env: REGISTRY: ghcr.io