From 52fee3ac2ad0a2cf8660df2e1eb6c60a3eb382fc Mon Sep 17 00:00:00 2001 From: nichlaes Date: Tue, 23 Jan 2024 14:08:43 +0100 Subject: [PATCH] added test docker workflow --- .github/workflows/test-docker.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/test-docker.yml diff --git a/.github/workflows/test-docker.yml b/.github/workflows/test-docker.yml new file mode 100644 index 000000000..a595838b0 --- /dev/null +++ b/.github/workflows/test-docker.yml @@ -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 \ No newline at end of file