diff --git a/.github/workflows/docker-gpr.yml b/.github/workflows/crypto-docker-gpr.yml similarity index 96% rename from .github/workflows/docker-gpr.yml rename to .github/workflows/crypto-docker-gpr.yml index 5afe92f..31631b3 100644 --- a/.github/workflows/docker-gpr.yml +++ b/.github/workflows/crypto-docker-gpr.yml @@ -1,4 +1,4 @@ -name: Publish Docker image to GPR +name: Publish Crypto image to GPR on: release: types: [created] diff --git a/.github/workflows/notifier-docker-gpr.yml b/.github/workflows/notifier-docker-gpr.yml new file mode 100644 index 0000000..b6dcdcb --- /dev/null +++ b/.github/workflows/notifier-docker-gpr.yml @@ -0,0 +1,35 @@ +name: Publish Notifier image to GPR +on: + release: + types: [created] +jobs: + build: + # Checkout + runs-on: ubuntu-latest + steps: + - name: Copy Repo Files + uses: actions/checkout@master + with: + ref: 'notifier' + + #This Action Emits 2 Variables, IMAGE_SHA_NAME and IMAGE_URL + #which you can reference in subsequent steps + - name: Publish Docker Image to GPR + uses: machine-learning-apps/gpr-docker-publish@master + id: docker + with: + IMAGE_NAME: 'notifier' + DOCKERFILE_PATH: 'dockerfile' + BUILD_CONTEXT: '.' + env: + GITHUB_TOKEN: ${{ secrets.PUBLISH_GITHUB_SECRET }} + + # This second step is illustrative and shows how to reference the + # output variables. This is completely optional. + - name: Show outputs of previous step + run: | + echo "The name:tag of the Docker Image is: $VAR1" + echo "The docker image is hosted at $VAR2" + env: + VAR1: ${{ steps.docker.outputs.IMAGE_SHA_NAME }} + VAR2: ${{ steps.docker.outputs.IMAGE_URL }} \ No newline at end of file diff --git a/crypto b/crypto index 0ca3b8a..cc0e6ba 160000 --- a/crypto +++ b/crypto @@ -1 +1 @@ -Subproject commit 0ca3b8a51bd0d5bde2d9562aa9142b94c8ec0c2d +Subproject commit cc0e6baa895b5e3c3f679e96193e42f41113229e diff --git a/notifier b/notifier index 0c7864b..8350d59 160000 --- a/notifier +++ b/notifier @@ -1 +1 @@ -Subproject commit 0c7864b2a91d76425546cc4b5dddc885c96caa75 +Subproject commit 8350d591a1c4f41a56863b60dfc60591b8a93aff