diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index cb2e887..e81772f 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -37,6 +37,6 @@ jobs: file: ./Dockerfile.build builder: default push: ${{ github.event_name != 'pull_request' }} - tags: ${{ secrets.CUSTOM_DOCKERHUB_USERNAME }}/openapi-ui:${{ replace(github.head_ref || github.ref_name, '/', '-') }}-${{ steps.short-sha.outputs.sha }} + tags: ${{ secrets.CUSTOM_DOCKERHUB_USERNAME }}/openapi-ui:${{ (github.head_ref || github.ref_name) | gsub('/','-') }}-${{ steps.short-sha.outputs.sha }} build-args: | NODE_VERSION=${{ env.NODE_VERSION }}