From 25f071e28dcd5bb7ad01e2e58834c5c42c0f9d66 Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Mon, 11 May 2020 23:00:49 -0400 Subject: [PATCH] Fix a broken build --- .github/workflows/predictmd.yml | 14 ++++++++------ Project.toml | 2 +- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/predictmd.yml b/.github/workflows/predictmd.yml index b6dfac9..99568de 100644 --- a/.github/workflows/predictmd.yml +++ b/.github/workflows/predictmd.yml @@ -33,13 +33,15 @@ jobs: env: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} + run: echo ${{ secrets.DOCKER_PASSWORD }} | docker --config ~/.dockerconfig1 login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin + - if: github.ref == 'refs/heads/master' && (github.event_name == 'push' || github.event_name == 'schedule') + env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - echo ${{ secrets.DOCKER_PASSWORD }} | docker --config ~/.dockerconfig1 login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin - echo ${{ secrets.GITHUB_TOKEN }} | docker --config ~/.dockerconfig2 login docker.pkg.github.com -u bcbi --password-stdin + run: echo ${{ secrets.GITHUB_TOKEN }} | docker --config ~/.dockerconfig2 login docker.pkg.github.com -u bcbi --password-stdin - run: docker build -t dilumaluthge/predictmd -t docker.pkg.github.com/bcbi/simplecontainergenerator.jl/predictmd . - run: docker run dilumaluthge/predictmd "JULIA_DEBUG=all PREDICTMD_TEST_GROUP=all PREDICTMD_TEST_PLOTS=true /usr/bin/julia -e 'import Pkg; Pkg.test(string(:PredictMDExtra)); Pkg.test(string(:PredictMDFull)); Pkg.test(string(:PredictMD))'" - if: success() && github.ref == 'refs/heads/master' && (github.event_name == 'push' || github.event_name == 'schedule') - run: | - docker --config ~/.dockerconfig1 push dilumaluthge/predictmd - docker --config ~/.dockerconfig2 push docker.pkg.github.com/bcbi/simplecontainergenerator.jl/predictmd + run: docker --config ~/.dockerconfig1 push dilumaluthge/predictmd + - if: success() && github.ref == 'refs/heads/master' && (github.event_name == 'push' || github.event_name == 'schedule') + run: docker --config ~/.dockerconfig2 push docker.pkg.github.com/bcbi/simplecontainergenerator.jl/predictmd + continue-on-error: true diff --git a/Project.toml b/Project.toml index 2a6bf95..d89550c 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "SimpleContainerGenerator" uuid = "b8d349fb-717b-4aac-a9b1-e1da4219c631" authors = ["Dilum Aluthge"] -version = "1.1.0" +version = "1.1.1" [deps] PackageCompiler = "9b87118b-4619-50d2-8e1e-99f35a4d4d9d"