Skip to content

Commit

Permalink
added test docker workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nichlaes committed Jan 23, 2024
1 parent 959052f commit 52fee3a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test-docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# workflow that runs on this current branch


on:
push:
branches:
- 381-create-docker-containers-for-client-lib-and-runner

jobs:
publish-docker-image:
name: Publish Docker image
runs-on: ubuntu-latest
steps:
- name: Install jq
run: sudo apt-get install -y jq
- name: get version
id: vars
run: |
version=`cat ./client/package.json | jq -r '.version'`
echo "version=$version" >> $GITHUB_OUTPUT
- name: publish docker image
uses: ./.github/workflows/docker.yml
with:
registry: ghcr.io
image-name: into-cps-association/test-image
version: ${{ steps.vars.outputs.version }}
dockerfile: libms.dockerfile

0 comments on commit 52fee3a

Please sign in to comment.