From df3f6c23cd4860fff13928ae27c3119174eb6d43 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Fri, 8 Oct 2021 08:37:37 +0200 Subject: [PATCH] Docker tuto-mc is based on the git version, not on stable image at all --- .github/workflows/docker-stable.yml | 8 +++----- .github/workflows/docker.yml | 5 +++-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docker-stable.yml b/.github/workflows/docker-stable.yml index f5b083d714..2008a3f697 100644 --- a/.github/workflows/docker-stable.yml +++ b/.github/workflows/docker-stable.yml @@ -38,20 +38,18 @@ jobs: run: | grep SIMGRID_VERSION_PATCH CMakeLists.txt| grep -q 'SIMGRID_VERSION_PATCH "0"' || (echo "Only run this action on stable source";exit 1) cd tools/docker - make stable tuto-s4u tuto-smpi tuto-mc + make stable tuto-s4u tuto-smpi docker push simgrid/stable - docker push simgrid/unstable docker push simgrid/tuto-s4u docker push simgrid/tuto-smpi - docker push simgrid/tuto-mc - name: Create the failure Message if: ${{ failure() }} run: | - echo "{\"attachments\": [{\"color\": \"#FF0000\", \"text\":\"Failure when building docker images ! See ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} \"}]}" > mattermost.json + echo "{\"attachments\": [{\"color\": \"#FF0000\", \"text\":\"Failure when building STABLE docker images ! See ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} \"}]}" > mattermost.json - name: Create the success Message if: ${{ success() }} run: | - echo "{\"attachments\": [{\"color\": \"#00FF00\", \"text\":\"Docker images built and pushed successfully ! ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} \"}]}" > mattermost.json + echo "{\"attachments\": [{\"color\": \"#00FF00\", \"text\":\"Docker STABLE images built and pushed successfully ! ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} \"}]}" > mattermost.json - uses: mattermost/action-mattermost-notify@master env: MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }} diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 001c3e9391..13dd5ed689 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -33,8 +33,9 @@ jobs: - name: build run: | cd tools/docker - make unstable - make push + make unstable tuto-mc + docker push simgrid/unstable + docker push simgrid/tuto-mc - name: Create the failure Message if: ${{ failure() }} run: | -- 2.20.1