From 38927cdff01c7421e2b26215a2baac59e6415431 Mon Sep 17 00:00:00 2001 From: Benjamin Rodenberg Date: Fri, 16 Feb 2024 10:35:53 +0100 Subject: [PATCH] Disable build-docker workflow on push to master See https://github.com/precice/python-bindings/pull/196. We decided to not release a docker container for the python bindings and the fenics adapter, because this is unnecessary. --- .github/workflows/build-docker.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index 6f229cf2..68e124e8 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -8,11 +8,9 @@ on: description: branch to build the container from options: - develop - - master push: branches: - develop - - master jobs: build-and-release-docker-image: @@ -34,15 +32,9 @@ jobs: - name: Set PYTHON_BINDINGS_REF and the TAG depending on branch shell: bash run: | - if [[ '${{ env.ADAPTER_REF }}' == 'master' ]]; then - echo "PYTHON_BINDINGS_REF=latest" >> "$GITHUB_ENV" - echo "TAG=latest" >> "$GITHUB_ENV" - echo "Building TAG: latest" - else - echo "PYTHON_BINDINGS_REF=${{ env.ADAPTER_REF }}" >> "$GITHUB_ENV" - echo "TAG=${{ env.ADAPTER_REF }}" >> "$GITHUB_ENV" - echo "Building TAG: ${{ env.ADAPTER_REF }}" - fi + echo "PYTHON_BINDINGS_REF=${{ env.ADAPTER_REF }}" >> "$GITHUB_ENV" + echo "TAG=${{ env.ADAPTER_REF }}" >> "$GITHUB_ENV" + echo "Building TAG: ${{ env.ADAPTER_REF }}" - name: Checkout Repository uses: actions/checkout@v2 - name: Set up Docker Buildx