Skip to content

Commit

Permalink
Deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ByPikod committed Oct 19, 2023
1 parent a531403 commit bf1764b
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Docker image to GPR
name: Publish Crypto image to GPR
on:
release:
types: [created]
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/notifier-docker-gpr.yml
Original file line number Diff line number Diff line change
@@ -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 }}
2 changes: 1 addition & 1 deletion crypto
Submodule crypto updated 1 files
+2 −0 dockerfile
2 changes: 1 addition & 1 deletion notifier
Submodule notifier updated 1 files
+2 −0 dockerfile

0 comments on commit bf1764b

Please sign in to comment.