fixed dockerhub image
This commit is contained in:
parent
0f5df6bc70
commit
ee99e97dfe
4
.github/workflows/docker-publish.yml
vendored
4
.github/workflows/docker-publish.yml
vendored
@ -26,6 +26,8 @@ jobs:
|
|||||||
- run: |
|
- run: |
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
|
IMAGE_PATH=boxyhq/mock-saml
|
||||||
|
echo "IMAGE_PATH=${IMAGE_PATH}" >> $GITHUB_OUTPUT
|
||||||
MOCK_SAML_VERSION=$(echo $(cat ./package.json) | ./node_modules/json/lib/json.js version)
|
MOCK_SAML_VERSION=$(echo $(cat ./package.json) | ./node_modules/json/lib/json.js version)
|
||||||
echo "NPMVERSION=$(echo ${MOCK_SAML_VERSION})" >> $GITHUB_OUTPUT
|
echo "NPMVERSION=$(echo ${MOCK_SAML_VERSION})" >> $GITHUB_OUTPUT
|
||||||
id: npmversion
|
id: npmversion
|
||||||
@ -59,7 +61,7 @@ jobs:
|
|||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
push: ${{ github.ref == 'refs/heads/release' }}
|
push: ${{ github.ref == 'refs/heads/release' }}
|
||||||
tags: ${{ github.repository }}:latest,${{ github.repository }}:${{ steps.slug.outputs.SHA7 }},${{ github.repository }}:${{ steps.npmversion.outputs.NPMVERSION }}
|
tags: ${{ steps.npmversion.outputs.IMAGE_PATH }}:latest,${{ steps.npmversion.outputs.IMAGE_PATH }}:${{ steps.slug.outputs.SHA7 }},${{ steps.npmversion.outputs.IMAGE_PATH }}:${{ steps.npmversion.outputs.NPMVERSION }}
|
||||||
|
|
||||||
- name: Image digest
|
- name: Image digest
|
||||||
run: echo ${{ steps.docker_build.outputs.digest }}
|
run: echo ${{ steps.docker_build.outputs.digest }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user